简体   繁体   English

Devtools for R 3.3.0是否不能与Rtools 3.3一起使用?

[英]Devtools for R 3.3.0 not working with Rtools 3.3?

I updated to the latest devel version of R (3.3.0) and the lastest devtools on CRAN (1.7), and got the follow message. 我更新到R的最新开发版本(3.3.0)和CRAN上的最新devtools(1.7),并收到以下消息。

library("devtools", lib.loc="~/R/win-library/3.3") 库(“ devtools”,lib.loc =“〜/ R / win-library / 3.3”)

WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.3.0 was found. 警告:构建R软件包需要Rtools,但未找到与R 3.3.0兼容的Rtools版本。 (Only the following incompatible version(s) of Rtools were found:2.15,2.16,3.1,3.3) (仅发现以下不兼容的Rtools版本:2.15、2.16、3.1、3.3)

Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools(). 请从http://cran.r-project.org/bin/windows/Rtools/下载并安装适当版本的Rtools,然后运行find_rtools()。

Did I mess something up, or is this just too new for anyone else to have encountered yet? 我是否搞砸了,还是对于其他任何人来说都太新了? Seems like Rtools 3.3 ought to be fine for devtools in R 3.3.0. 对于R 3.3.0中的devtools来说,似乎Rtools 3.3应该很好。

I have faced the same issue, I resolved it by downloading Rtools 3.3 from this link https://cran.r-project.org/bin/windows/Rtools/ and Installed it in my Windows 8 machine. 我也遇到过同样的问题,我通过从此链接https://cran.r-project.org/bin/windows/Rtools/下载Rtools 3.3来解决,并将其安装在Windows 8计算机中。 After that I ran find_rtools() in Rstudio/R, It will return TRUE. 之后,我在Rstudio / R中运行find_rtools(),它将返回TRUE。 Thats it you have resolved it. 就是这样,您已经解决了。

Now try library(devtools), it will work :D :D 现在尝试库(devtools),它将起作用:D:D

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM