Guide to Installing R and RStudio

In order to install RStudio you need to first install R (and for Mac you need to install XQuartz). The instructions walk through how to do this and where to find everything.

Mac OSX 10.11+

  1. Download the most recent version of R from here. This will be in the form of R-X.Y.Z.pkg. Currently it is R-3.5.2.pkg.
  2. Once it has downloaded click on the file and follow the prompts to install it.
  3. Download XQuartz from here. Once it has downloaded click on the file to load the drive. A new window will open with one icon in it. Click on that icon and again follow the prompts to install XQuartz.
  4. Finally download the most recent version of RStudio from here. This should look something like ‘RStudio 1.1.XXX - Mac OS X 10.6+ (64-bit)’. Once it downloads again click to load the drive and then drag the RStudio icon into your applications folder.
  5. Open RStudio to ensure that everything loads right.

Windows 7, 8, and 10

  1. Download the most recent version of R from here. This will be in the form of ‘Download R X.Y.Z for Windows’. Currently it is R-3.5.2
  2. Once it has downloaded click on the file and follow the prompts to install it.
  3. Download the most recent version of RStudio from here. This should look something like ‘RStudio 1.1.XXX - Windows Vista/7/8/10’. Once it downloads again click on it and follow the install instructions.
  4. Open RStudio to ensure that everything loads right.