Learn R Programming

installr (version 0.8)

install.R: Downloads and installs the latest R version

Description

Fetches the latest (not development!) R version

Usage

install.R(page_with_download_url = "http://cran.rstudio.com/bin/windows/base/")

Arguments

page_with_download_url
URL from which the latest stable version of R can be downloaded from.

Value

  • Nothing.

Details

If you are not sure if you need to update R or not, you are It is better to use updateR for updating R, since it includes more options. But in case you wish to only install R, with no other steps taken (for example, taking care of your old packages), then you can use install.R()

Examples

Run this code
install.R()

Run the code above in your browser using DataLab