[问题类型]:
程式咨询(我想用R 做某件事情,但是我不知道要怎么用R 写出来)
[软件熟悉度]:
新手(没写过程式,R 是我的第一次)
[问题叙述]:
安装一个网络教学的套件包swirl时,出现以下错误讯息
> source("https://wush978.github.io/R/init-HahowRTutorial.R")
Installing rstudioapi (0.8) ...
Checking if there is a source package in CRAN...
Error in FUN(X[[i]], ...) : Failed to find rstudioapi (0.8) from CRAN
[环境叙述]:
R version 3.5.2 (2018-12-20)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS 10.15.2
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
locale:
[1] zh_TW.UTF-8/zh_TW.UTF-8/zh_TW.UTF-8/C/zh_TW.UTF-8/zh_TW.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rstudioapi_0.11 pvm_0.4.2.6 remotes_2.1.1
loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2
小弟我看我的rstudioapi似乎是0.11版本,请问那段错误说是找不到0.8版本
是否可以在安装该套件时,略过rstudioapi安装,就可以解决这问题呢?
小的我第一次写程式,求版上大大指导如何解决,非常感谢!