install.Rtools: Downloads and installs Rtools

View source: R/installRtools.R

install.RtoolsR Documentation

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, ...)

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.

Value

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

References

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

Examples

## Not run: 
# 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)

## End(Not run)

installr documentation built on Nov. 13, 2022, 1:06 a.m.