Skip to Main Content

DPDS Social Sciences Workshop Resources


Email this link:

R Markdown

Objectives:

1. Create a .Rmd document containing R code, text, and plots.
2. Create a YAML header to control output.
3. Understand basic syntax of R Markdown.
4. Customize code chunks to control formatting.
5. Use code chunks and in-line code to create dynamic, reproducible documents.

Key Points:

1. R Markdown is a useful language for creating reproducible documents combining text and executable R-code.
2. Specify chunk options to control formatting of the output document.

Recommended Guides

Recommended Books

Online Tutorials