R Flavored Markdown or "R Markdown" is a markdown variant used for content-creation and/or programming documentation interleaved with R code.
R Flavored Markdown, or simply "R Markdown", is a markdown variant used for content-creation and/or programming documentation in which text content is interleaved with R code. It is a modern example of literate programming and is frequently used in R vignettes and README files where an R Markdown file (usually with file extension .Rmd
) is rendered as HTML via knitr pre-processing of embedded code chunks.
More details about R Markdown can be found in:
- A June 2012 blog post announcing the markdown package
- RStudio documentation here
- The R Markdown Cheat Sheet
Two R packages currently implement R Markdown rendering:
Various script editors can display R Markdown documents with syntax highlighting and render the resulting markdown and HTML documents, including: