A document format allowing easy creation of dynamic documents, reports, presentations, and more from R, with embedded code chunks for execution and visualization.
R Markdown is an open-source document format created by RStudio. It allows you to create fully-reproducible data analysis reports, presentations, dashboards, interactive applications, books, dissertations, websites, and more from R.
R Markdown documents contain text written in Markdown, a simple formatting syntax for authoring web pages, interspersed with chunks of embedded R code. When you render an R Markdown document, the R code chunks are executed and their output inserted back into the final document.
This enables you to create dynamic analysis documents that combine code, formatted text, results, and visualizations in a single document. R Markdown supports dozens of output formats including HTML, PDF, MS Word, beamer slides, interactive dashboards, websites, books, journal articles and more.
Some key advantages of R Markdown include:
With RStudio IDE, you get authoring features like syntax highlighting, markdown preview, reference lookup, R code execution and more. So R Markdown brings together an easy-to-write plain text format with the power of R and other languages to create dynamic analysis documents and reports.