Jon*_*ton 12 r devtools rtools
所以我为R安装了devtools,但是当我用以下代码调用库时:
library(devtools)
Run Code Online (Sandbox Code Playgroud)
我得到以下输出:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
Run Code Online (Sandbox Code Playgroud)
所以我执行了以下代码:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
Run Code Online (Sandbox Code Playgroud)
我得到以下输出:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
Run Code Online (Sandbox Code Playgroud)
我很感激有任何帮助,让Rtools进入我的机器,所以我可以调用devtools库.谢谢!
归档时间: |
|
查看次数: |
17668 次 |
最近记录: |