This document provides instructions for downloading and installing R and RStudio on an Apple Macintosh machine.

Before you start

  1. Check which version of Mac OS you have. To do this, click on the Apple icon on the top-left of your screen, then click “About This Mac”. A little window should pop up with version information.

2. Make sure that you have about 500 MB of free space on your machine. We will need this space to install both R and RStudio, and when the program installs the compressed files expand to take much more space.

Installing R

  1. Go to this website.

  2. If your mac is OS X 10.11 and higher (this should be the case for most of you), click the R-3.5.1.pkg link. If your mac is OS X 10.9 or 10.10, click the R-3.3.3.pkg link.

  3. After clicking on the link, the file (package installer) will be downloaded onto your computer. Once the file has been downloaded, click on the link and walk through the installation process. Accept the default options for now.

R is now installed on your computer.

Testing R

  1. Double-click on the R icon in the Applications folder. A window titled “R Console” should pop up: