Skip to main content

Section 10.3 Creating a Quarto document

When opening a new document, instead of clicking the button for R script, you are going to click the Quarto Document button.
In RStudio: File β†’ New File β†’ Quarto Document.
Once you name it, you have three options to pick from as an output:
  1. HTML: Turns your Quarto document into a website
  2. PDF: Turns your Quarto document into a PDF
  3. Word: Turns your Quarto document into a Microsoft Word document
In this chapter, we will use HTML as our output because it supports interactivity, easy sharing, and web-based reproducibility.
Once you click OK, a brand new Quarto document has been created! If this is your first time looking at a Quarto document, you’re probably thinking, "This looks sort of familiar, but there are some things that are different." Let’s break down the specific parts of a Quarto document.