Jerry.Shad Jerry.Shad - 3 days ago 6
R Question

Rtools can't be installed on windows under devel version of R?

I am trying to build an R package using RStudio on Windows 8.1. When I attempt to build the package via RStudio's Build panel I receive:

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:


when I type the command in console :

install.packages("Rtools")
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R Under development)


first time building R packages in Rstudio, I got confused should I used install.packages(), or directly install .exe file from CRAN. What's the right things to do to proceed package building on Rstudio ? I used devel version of R. Can any one give me quick solution on this problem ? Thanks a lot

I downloaded Rtools.exe from CRAN and installed on my machines, both tried 33, 34.exe, and restart Rstudio, but still can't build my packages, it keep saying that :

WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:

- Rtools 3.3 (installed at c:\Rtools)

Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/

Answer

Download from here and install like a software. https://cran.r-project.org/bin/windows/Rtools/

Comments