Note: Clicking the links below will take you directly to the download file, which means a pkg will start downloading. I’ve done this to help ease any confusion about which items to download.

Step 1: Download & Install R

Step 2: Download & Install RStudio

Step 3: Download & Install XQuartz

Step 4: Download & Install Latex for Mac (MacTex)

Instructions

After downloading, move the file MacTeX.pkg to the desktop or another convenient spot, and double click it to install. Follow the straightforward instructions. Installation on a recent Macintosh takes four to six minutes.

Troubleshooting

At the end of installation, the installer will report “Success.” But sometimes, the installer puts up a dialog saying “Verifying…” and then the install hangs. In all cases known to us, rebooting the Macintosh fixes this problem. After the reboot, install again.

Step 5: Install rmarkdown with RStudio

###Instructions

  • Open RStudio from your applications folder.
  • Then, copy & paste this code into the console:
install.packages("rmarkdown")
  • If the console prompts you to install dependencies, type “y” and hit enter.

Console Example

Image: Once you paste the code, you should hit enter.

Image: Once you paste the code, you should hit enter.