Reports and manuscripts with Quarto

What is quarto?

  • Open-source document format and computational notebook system
  • Integrates text, code, and outout
  • Can create multiple different types of products (documents, slides, websites, books)

Why not R Markdown?

Only because quarto is newer and more featured!

  • Anything you already know how to do in R Markdown you can do in quarto, and more!
  • All of these slides, website, etc. are all made in quarto.
  • If you know and love R Markdown, by all means keep using it!

Quarto workflow

  1. Create a Quarto document
  2. Write code
  3. Write text
  4. Repeat 2-3 in whatever order you want
  5. Render repeatedly as you go

How does it work?

  • You text in markdown and code in R
  • knitr processes the code chunks, executes the R code, and inserts the code outputs (e.g., plots, tables) back into the markdown document
  • pandoc transforms the markdown document into various output formats