R Markdown is an authoring format that enables easy creation of dynamic documents, presentations, and reports from R. It combines the core markdown syntax with embedded R code chunks. Learn more about R Markdown and publishing R Markdown in Posit Connect
To learn how to use R Markdown, visit our extensive R Markdown development center at rmarkdown.rstudio.com
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.
See also the R Markdown developer documentation including:
-
Creating re-usable Document Templates
-
Guide to Creating New Formats for R Markdown
-
Adding interactive components to R Markdown documents using HTML Widgets and Shiny Widgets.
While using RMarkdown in RStudio, with R-3.1.2, I found the following bug:
Symptom: would not generate a PDF document.
Error: the file rmarkdown/rmd/latex/default.tex has a wrong spelling for:
\UseMicroTypeSet (it was \UseMicrotypeSet)
After correcting in the above file PDF generation was smooth.
While using RMarkdown in RStudio, with R-3.1.2, I found the following bug:
Symptom: would not generate a PDF document.
Error: the file rmarkdown/rmd/latex/default.tex has a wrong spelling for:
\UseMicroTypeSet (it was \UseMicrotypeSet)
After correcting in the above file PDF generation was smooth.