← R Programming learning path
R Programming · Module 9 of 10

Reports with R Markdown and Quarto

Combine code, results and text into reports.

📖 Key ideas

  1. R Markdown (.Rmd) and Quarto (.qmd) mix text and code chunks.
  2. Render to HTML, PDF or Word.
  3. Results and charts update when data changes.
  4. Great for reproducible research and assignments.
  5. Quarto also supports Python and Julia.
💡 Real-life example: R Markdown is a live notebook: change the data and the whole report rewrites itself.
R MarkdownDocument format mixing text and R code
QuartoNext-generation publishing system
ChunkBlock of code in a document
Knit/RenderProduce the final document