installr (version 0.23.4)

install.Rtools: Downloads and installs Rtools

Description

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.

Usage

install.Rtools(check = TRUE, check_r_update = TRUE, GUI = TRUE, ...)

Value

invisible(TRUE/FALSE) - was the installation successful or not.

Arguments

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

Details

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.

References

Rtools homepage: https://cran.r-project.org/bin/windows/Rtools/

Examples

Run this code
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)
}

Run the code above in your browser using DataCamp Workspace