Introduction to Quarto
Slides
Open slides in new window Download PDF of slides
Exercises
Welcome
TipYour turn
Introduce yourself:
- Name
- Professional affiliation
- On a scale of 1–10, how well do you know…
- Quarto?
- R?
- Python?
- HTML and CSS?
- What do you hope to get out of this course?
Introduction to Quarto
TipYour turn
- Open
01-exercise.qmd
- Preview/render the document
- If you’re using Posit Cloud, you might be asked to allow pop-ups
- Edit the title and preview the document again.
Quarto documents
TipYour turn
- Open
01-exercise.qmd
and run some of the code chunks (in order!). - Add
#| include: false
to the second chunk and preview again. Switch it back totrue
or remove it. Preview again. - In the YAML area, add an
author
field and add your name. Preview again. - Change
code-fold
to be true. Preview again. - Edit the first paragraph to:
- Make something bold
- Make “the Gapminder foundation” link to
https://www.gapminder.org
- Replace
XXXX
andYYYY
with inline code instead of hardcoded values. The first code chunk creates R objects namedfirst_year
andlast_year
—use those.