所以我为R安装了devtools,但是当我用:
调用库时library(devtools)
我得到以下输出:
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().
所以我执行了以下代码:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
我得到以下输出:
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)
我很感激有任何帮助将Rtools放到我的机器上,所以我可以调用devtools库。谢谢!