在R版本3.0.2上安装Rtools [英] Install Rtools on R version 3.0.2
本文介绍了在R版本3.0.2上安装Rtools的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经为R安装了 devtools ,但是当我使用以下命令调用库时:
I've installed devtools for R, but when I call the library with:
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().
所以我执行了以下代码:
So I executed the following code:
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库。谢谢!
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
推荐答案
Rtools不是软件包。参见此处: https://cran.r-project.org/bin/windows/Rtools /
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/
这篇关于在R版本3.0.2上安装Rtools的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文