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.qmdand run some of the code chunks (in order!). - Add
#| include: falseto the second chunk and preview again. Switch it back totrueor remove it. Preview again. - In the YAML area, add an
authorfield and add your name. Preview again. - Change
code-foldto be true. Preview again. - Edit the first paragraph to:
- Make something bold
- Make “the Gapminder foundation” link to
https://www.gapminder.org - Replace
XXXXandYYYYwith inline code instead of hardcoded values. The first code chunk creates R objects namedfirst_yearandlast_year—use those.