2013-02-08 58 views
6

安裝Rtools 3.0版後,我在R控制檯運行以下命令:如何在R 2.15.2上使用Rtools在Windows上工作?

> library(devtools) 
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 2.15.2 was found. 
(Only the following incompatible version(s) of Rtools were found:3.0) 

Please download and install Rtools 2.16 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools(). 
> find_rtools() 
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 2.15.2 was found. 
(Only the following incompatible version(s) of Rtools were found:3.0) 

Please download and install Rtools 2.16 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools(). 

然而,網頁http://cran.r-project.org/bin/windows/Rtools/沒有列出一個版本2.16。另外,它表示版本3.0與R> 2.15.1的所有版本兼容。有誰知道如何讓Rtools在Windows上運行R 2.15.2?

+1

我不知道如果在'devtools'版本檢查,而不是Rtools一個實際問題,這是一個錯誤嗎?雖然你得到這個警告,你仍然可以用'R CMD INSTALL'等方法正確地編譯東西嗎? – 2013-02-08 22:27:37

+1

鑑於這些是哈德利的孩子,我猜你可以在manipulatr郵件列表或RStudio列表上得到更快的答案,因爲devtools是通過它們分發的? – 2013-02-09 00:24:05

+3

我們剛剛將更新推向了CRAN。 – hadley 2013-02-09 02:42:26

回答

2

在OP評論中,這看起來在2013年2月初通過將新版本推向CRAN而得到修復,正如@Hadley所述。

它爲我...

相關問題