This section provides pointers to additional resources related to R Markdown.
F.5.1 R Markdown documentation
For more detailed instructions on R Markdown see:
Useful practical resources on R Markdown include (in increasing amount of detail):
A Markdown Quick Reference card is available in RStudio via
Help > Markdown Quick Reference.
The R Markdown Cheatsheet, available in RStudio via
Help > Cheatsheets > R Markdown Cheat Sheet.
- The R Markdown Reference Guide, available in RStudio via
Help > Cheatsheets > R Markdown Reference Guide (see Figure (fig:cheat-70-rmarkdown-reference)).
F.5.2 R Markdown for psychologists
Articles and theses in psychology typically need to conform to the manuscript guidelines of the American Psychological Association (aka. APA style), whereas other disciplines and journals have different needs and requirements. Many publishers now offer templates that allow authors to focus on content, rather than formatting.
Helpful resources for preparing journal articles in R Markdown include:
rticles is an R package that provides R Markdown templates for various journal articles and conference submissions.
chi-proc-rmd-template provides an ACM CHI Proceedings template in R Markdown.
pandoc journal templates provides templates for various journals in biometrics and statistics.
Allaire, J. J., Xie, Y., McPherson, J., Luraschi, J., Ushey, K., Atkins, A., … Iannone, R. (2020). rmarkdown: Dynamic documents for R. Retrieved from https://github.com/rstudio/rmarkdown
Knuth, D. E. (1984). Literate programming. The Computer Journal, 27(2), 97–111. https://doi.org/10.1093/comjnl/27.2.97
Xie, Y. (2015). Dynamic documents with R and knitr (2nd ed.). Retrieved from http://yihui.name/knitr/
Xie, Y. (2020b). knitr: A general-purpose package for dynamic report generation in R. Retrieved from https://yihui.org/knitr/
Xie, Y., Allaire, J. J., & Grolemund, G. (2018). R Markdown: The definitive guide. Retrieved from https://bookdown.org/yihui/rmarkdown/
Xie, Y., Dervieux, C., & Riederer, E. (2020). R markdown cookbook. Retrieved from https://bookdown.org/yihui/rmarkdown-cookbook/