5 Installation on a computer

You will need to install the following two installation packages on your Mac (if they are not already installed):

  1. R (install this first), and
  2. RStudio.

Both are super easy to install, more on that below.

5.1 R language installation

First, go to https://cran.r-project.org/.

Click on “Download R for macOS”.



On the next page, click on the topmost download link. Install the downloaded package on your Mac.


5.2 Installation of RStudio

Next, install RStudio on your machine:

Go to https://www.rstudio.com/products/rstudio/download/.

Click on the download link for the free “RStudio Desktop” (see image below) and install the program on your Mac.



When you click on the link, the site will move you forward on the page (see image below) and remind you that R must first be installed, but you already did that. Press the link “DOWNLOAD RSTUDIO FOR MAC”, and a file called RStudio… .dmg will be downloaded to your computer, install RStudio from that file on your computer.



R guide by Ville Langén is licensed under Attribution-ShareAlike 4.0 International