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.
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.
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.
rmarkdown
with RStudio###Instructions
install.packages("rmarkdown")