全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2825 0
2020-12-18
小白,第一次用R,跟着视频做,但是到这一步之后做不下去,不太懂是什么意思?有无大神解答

install.packages('devtools')
library(devtools)
install.packages('usethis')
library('devtools')

> install.packages('devtools')
Installing package into ‘C:/Users/mayatkwan/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.6/devtools_2.3.2.zip'
Content type 'application/zip' length 340060 bytes (332 KB)
downloaded 332 KB

package ‘devtools’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\mayatkwan\AppData\Local\Temp\Rtmp0omsOK\downloaded_packages
> library(devtools)
载入需要的程辑包:usethis
Error: package or namespace load failed for ‘usethis’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-3.6.2/library/stats/libs/x64/stats.dll':
  LoadLibrary failure:  找不到指定的模块。

Error: 无法载入程辑包‘usethis’
In addition: Warning messages:
1: 程辑包‘devtools’是用R版本3.6.3 来建造的
2: 程辑包‘usethis’是用R版本3.6.3 来建造的
> install.packages('usethis')
Installing package into ‘C:/Users/mayatkwan/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.6/usethis_2.0.0.zip'
Content type 'application/zip' length 732431 bytes (715 KB)
downloaded 715 KB

package ‘usethis’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\mayatkwan\AppData\Local\Temp\Rtmp0omsOK\downloaded_packages
> library('devtools')
载入需要的程辑包:usethis
Error: package or namespace load failed for ‘usethis’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-3.6.2/library/stats/libs/x64/stats.dll':
  LoadLibrary failure:  找不到指定的模块。

Error: 无法载入程辑包‘usethis’
In addition: Warning messages:
1: 程辑包‘devtools’是用R版本3.6.3 来建造的
2: 程辑包‘usethis’是用R版本3.6.3 来建造的
>


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群