[問題類型]:
程式諮詢(我想用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安裝,就可以解決這問題呢?
小的我第一次寫程式,求版上大大指導如何解決,非常感謝!