Install Rtools on R version 3.0.2

 ̄綄美尐妖づ 提交于 2019-12-28 06:31:26

问题


I've installed devtools for R, but when I call the library with:

library(devtools)

I get the following output:

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/")

And I get the following output:

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)

I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!


回答1:


Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/



来源:https://stackoverflow.com/questions/20023739/install-rtools-on-r-version-3-0-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!