R Markdown: Glossary

Key Points

Introduction to Literate Programming
  • Literate programming allows mixing text, code and outputs

  • It enables reproducible research by coupling analysis with reporting

Introduction to R Markdown
  • Markdown is a way of writing text files in a structured way.

  • R Markdown allows integration of R code with Markdown.

  • Chunk options can be used to control formatting.

Parameterised reports
  • Set parameters in the YAML with params:

  • Access parameters in code using params$<NAME>

  • Create multiple documents from the same .Rmd document using rmarkdown::render

Alternative outputs
  • Control the output format in the YAML with output:

  • References can used in bibtex format

Glossary

FIXME