小白,第一次用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 来建造的
>