2.1 Installing R

20241018

Summary

  1. Visit https://cloud.r-project.org/
  2. Choose Download R for either Linux, macOS or Windows
  3. Install the downloaded R package.

For GNU/Linux though you may be better off installing R from your operating system repository (e.g., Debian/Ubuntu).

Once you have R installed proceed to Section 2.2 to install the required packages for R.

Details

We first need to have available the computer software that interprets our programs that we write as sentences in the R language. Usually we will install this software, called the R Interpreter, on our own computer and instructions for doing so are readily available on the Internet. The R Project is a good place to start.

Generally, to install R visit the R Download page of the R Project. Choose your operating system variety and click the appropriate link on that page.

Most GNU/Linux distributions freely provide R packages from their application stores. For Debian and Ubuntu you can run the command line:

sudo apt install r-recommended

This will install R from the appropriate distribution repository.

Once you have R installed proceed to Section 2.2 to install the required packages for R.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0