We need to install two things onto your computer. The first is R, this is the programming language we will use. After that we need to install RStudio, this is a front end program that lets you write R code, view plots, and do many other useful things.

If you have a previous installation of R and RStudio, that you have not used much, please remove these first from your computer, and download the current versions as per the instructions below.

Install R

  1. Download the R installer from https://cran.r-project.org/.
  1. Click on the link for your operating system. Make sure the installer is for R version 4.0.0.