1.1 Download and install R and RStudio

To provide some extra functionality and to ease the transition a bit, we will use a program called RStudio as a graphical front-end to R.

You can download R from https://cloud.r-project.org/. Select the appropriate link for your operating system and install R on your computer (on Windows, you first need to click on “base”).

Then, download RStudio from https://www.rstudio.com/products/rstudio/download/. Select the installer for the free version and install RStudio (note: you need to have R installed first).