Chapter 3 Basics

In this chapter, we present some key concepts about R Markdown. First, we introduce the basic components of an R Markdown document: the prose and code. Next, we show how to convert R Markdown documents to R scripts, and vice versa.

For those seeking lower-level basics, please read Chapter 2 of the R Markdown Definitive Guide (Xie, Allaire, and Grolemund 2018).


Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. R Markdown: The Definitive Guide. Boca Raton, Florida: Chapman; Hall/CRC.