2.4 R on MacOS

For OS X, you must have OS X 10.6 (Snow Leopard) or later. Otherwise, you can still install R, but you will not be able to use a certain number of packages (like some we use here). To check this, click on the Apple icon at the top left of your screen. Then click on the About This Mac option. A window should appear telling you which version of OS X (or MacOS) you have.

To install R, go to https://cran.r-project.org/index.html and click on Download R for (Mac) OS X. Once there, download and install the appropriate .pkg file for your version of OS X. You will also need to download the Clang 6.x Compiler and the GNU Fortran Compiler from https://cran.r-project.org/bin/macosx/tools/. Install both, leaving the selected options as they are. Once installed, check that R works by running it.

To install RStudio, go to https://www.rstudio.com/products/rstudio/download/ and download the OSX version at the bottom of the page. Once downloaded and installed, you should be able to find RStudio among your other applications.