Statistical Computing

Chapter 8: Statistical Computing

For this chapter, we are installing R and RStudio.

1. Installing R

Open your terminal and type:

sudo apt-get update
sudo apt-get install r-base

Visit the download site of the R Project here and click Download R for (Mac) OS X. In section Files, click the link to the .pkg file that corresponds to your version of OSX (i.e., El Capitan, Mavericks, etc.). Double-click the downloaded package and follow the installation instructions.

Visit the download site of the R Project here and click the link Download R for Windows. Click on “install R for the first time" to download the R executable. Run the .exe file and follow the installation instructions.

2. Installing RStudio

Visit the RStudio download page here and select the link that corresponds to your operating system. Double click the downloaded file to start the installation wizard and accept all default settings.

Send a Message