Install compatible version of Rtools for Windows. By default, the function searches if a compatible Rtools is installed, if not, it offers to install the latest compatible version.
install.Rtools(check = TRUE, check_r_update = TRUE, GUI = TRUE, ...)
check | checks if we need to install Rtools or not. |
---|---|
check_r_update | checks if there is an R update available (ignores patch versions), if so, asks if user wants to install the R update first. (defaults to TRUE) |
GUI | Should a GUI be used when asking the user questions? (defaults to TRUE) |
... | extra parameters to pass to install.URL |
invisible(TRUE/FALSE) - was the installation successful or not.
Rtools is a collection of software for building packages for R under Microsoft Windows, or for building R itself (version 1.9.0 or later). The original collection was put together by Prof. Brian Ripley; it is currently being maintained by Duncan Murdoch.
Rtools homepage: https://cran.r-project.org/bin/windows/Rtools/
if (FALSE) { # installs the latest compatible version of Rtools if a compatible version is not yet installed install.Rtools() # (re)installs the latest compatible version of Rtools install.Rtools(check = F) # skip R version check install.Rtools(checkRupdate = F) }