R Markdown

Dynamic Documents for R

R Markdown is an authoring format that enables easy creation of dynamic documents, presentations, and reports from R. It combines the core syntax of markdown (an easy to write plain text format) with embedded R code chunks that are run so their output can be included in the final document.

R Markdown documents are fully reproducible (they can be automatically regenerated whenever underlying R code or data changes).

R Markdown has many available output formats including HTML, PDF, MS Word, Beamer, HTML5 slides, Tufte handouts, books, dashboards, and websites.

Getting Started

Quick Tour

R Markdown Cheat Sheet

R Markdown Reference Guide

Learning More

With the basics described above you can get started with R Markdown right away. To learn more see:

For even more in-depth documentation see:

  • The website for the knitr package. Knitr is an extremely powerful tool for dynamic content generation and the website has a wealth of documentation and examples to help you utilize it to its full potential.

  • The full specification of Pandoc Markdown, which describes all of the markdown features and syntax available within R Markdown documents.

  • If you are migrating documents from R Markdown v1 or wish to continue using RMarkdown v1 see the article on Migrating from R Markdown v1.

See also the R Markdown developer documentation including:

comments powered by Disqus