R Markdown and Reports

r
rmarkdown
markdown
rstudio
citations
latex
knitr
pandoc
publishing
Guides, citation tools, templates, and output packages for writing reproducible reports and papers with R Markdown and knitr.
Published

31 October 2026

This guide collects material for writing reports, papers, and slides that combine text and R code in R Markdown. Begin with the three picks under Start here, then use the sections on citations, templates, and output formats as your project needs them. PDF output needs a LaTeX installation; the TinyTeX page links to the easy setup, and the R page covers installing R.

Start here

Learning R Markdown

Citations and bibliographies

  • Bibliographies and Citations — Posit guide to adding bibliographies and citations to R Markdown documents.
  • Citations in R Markdown — Tutorial on citing publications and building bibliographies with RStudio’s citation tools.
  • RStudio: Quick Guide to Citations — Short YouTube guide to citations in RStudio.
  • citr — RStudio addin for inserting Markdown citations.
  • knitcitations — Package that generates citations for knitr Markdown and HTML documents.
  • RefManageR — Package for importing and managing bibliographic references from R.
  • grateful — Package that helps you cite the R packages used in an analysis.

Templates and output formats

  • rddj-template — Template for starting a reproducible R Markdown project in data journalism.
  • thesis_in_rmarkdown — Example project for writing a thesis in R Markdown.
  • svm-r-markdown-templates — Collection of R Markdown templates for academic manuscripts, Beamer presentations, and syllabi.
  • pagedown — Package for turning R Markdown HTML output into paged documents that print well.
  • officer — Package for creating Word and PowerPoint documents from R.
  • remedy — RStudio addins that simplify writing Markdown.
  • tinytex — Small LaTeX distribution for R Markdown PDF output; the TinyTeX page links to its website.
  • RPubs — Getting-started page for publishing R Markdown documents online with RPubs.