Rmarkdown works best on a machine with the latest versions of R and Rstudio. Fire up Rstudio and click the green circle with white plus (upper left corner) and try creating an “R Markdown” (HTML format) or “R Notebook” page. You might be asked to install some packages at that point – do it. If you are adventurous, try clicking the “Preview” or “Knit” icon at the top of the page to see what is produced. Again, you may be asked to install some packages, which you should. There is a “Markdown Quick Reference” under the “Help” tab at top of page.
- Reproducible Reports with Rmarkdown from Data Carpentry
- Rmarkdown from RStudio
- Rmarkdown Gallery & Rmarkdown Articles
- Rmarkdown Example
- R4DS book: Rmarkdown
- Knitr in a knutshell by Karl Broman
- Rstudio Rmarkdown Cheatsheet (scroll down to find)
- Rmarkdown Code and Chunk Options
- http://rpubs.com (Share Rmarkdown online)
- https://plot.ly/r/knitr/
-
MacTex Download (for PDFs on Macintosh)
- BookDown and BlogDown
Adding pandoc to your path in .bash_profile or .bashrc
# Adding pandoc from R studio to path
export PATH=$PATH:/Applications/RStudio.app/Contents/MacOS/pandoc