R Markdown — Dynamic Documents for R

Quick Tour Installation You can install the R Markdown package from CRAN as follows: install.packages ( "rmarkdown" ) Markdown Basics Markdown is a simple formatting language designed to make authoring content easy for everyone. Rather than writing complex markup code (e.g. HTML or LaTeX), Markdown enables the use of a syntax much more like plain-text email. For example the file on the left shows basic Markdown and the resulting output on the right: R Code Chunks Within an R Markdown file, R Code Chunks can…