Learn R Programming

installr (version 0.8)

install.Rtools: Downloads and installs Rtools

Description

Allows the user to choose, downloads and install - the latest version of Rtools for Windows.

Usage

install.Rtools(choose_version = F, latest_Frozen = T,
    page_with_download_url = "http://cran.r-project.org/bin/windows/Rtools/")

Arguments

choose_version
if TRUE, allows the user to choose which version of RTools to install. Useful if you wish to install the devel version of RTools, or if you are running on an old version of R which requires an old version of R.
latest_Frozen
if FALSE (and choose_version is FALSE) the function installs the latest devel version of RTools (good for people using the devel version of R). If TRUE (default), the latest frozen version of RTools is installed.
page_with_download_url
the URL of the RTools download page.

Value

  • Nothing.

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 (for other resources and documentation): http://cran.r-project.org/bin/windows/Rtools/

Examples

Run this code
install.Rtools() # installs the latest frozen version of RTools
install.Rtools(F, F) # installs the latest devel version of RTools
install.Rtools(T) # choose your version

Run the code above in your browser using DataLab