6–9 Jul 2026
Europe/Warsaw timezone

Teaching R with R. How to get started doing lectures with Quarto and reveal.js.

9 Jul 2026, 11:50
5m
Lightning Talk (5 minutes) Lightning Talks

Speaker

Dr Håvard R. Karlsen (NTNU)

Description

Traditional presentation software like PowerPoint or Keynote are commonly used for teaching, but not ideal for displaying and running code, as it involves a lot of copying and pasting. Moving to presenting Quarto documents makes it much easier to incorporate code and output in the presentation. But it can be daunting as it involves learning a new framework for creating and presenting slides.

In this talk I'll demonstrate how to use Quarto and reveal.js to run lectures heavy on R (or other programming languages). I'll draw on my experience from running a course for master's students on data wrangling this spring. We'll look at how to display and run code, how to create shareable pdfs of your slides and how to efficiently create exercise and answer sheets with fragments. We'll tame the beast that is image sizing and positioning, as well as making sure the text is sized and formatted well. At the end we dip our toes into .scss file to create your own personalised style.

This talk is designed to reduce the barrier to switching to a Quarto-focused presentation process. The source files will be made available on GitHub after the talk and can be used as a starting point for generating your own slides. The concepts I show are by no means exhaustive or the only way to create slides with Quarto, but they are a great way to get started.

If you used AI tools or services to support the preparation of this submission, please state the name and reason for using each of them.

No AI tools/services were used.

Keywords: Please list up to 5 keywords to help us find the right session for your contribution. teaching, statistical learning, presentation, quarto, revealjs
Virtual Option This submission is for onsite presentation primarily, but I would also like it to be considered for pre-recorded virtual presentation if I don't get an onsite slot
Video Recording Video sharing is fine
The author(s) agree(s) to take responsibility and be accountable for the contents of the submission and is/are authorized to present it. Confirm

Author

Presentation materials

There are no materials yet.