Websites/Slides

One great thing about having html files output from Rmd? We can use Rmd as a framework for creating websites, because websites are often just html.

Similarly, we can use Rmd as a framework for creating pdf slides (through the Beamer LaTeX document class) or html slides (through reveal.js).

This is especially powerful when you move to the next generation version of Rmd, Quarto.

Note that Quarto was released in 2022, so as of the time of writing this (Nov 2023), there are still some growing pains. But it seems to be the way of the future for websites and slides, so it’s what we’ll cover.

This topic is optional. It wil probably also be short.

Quarto Installation and Basics

Official tutorial here. It’s very straightforward to pick up if you already know Rmd. (Which we do!)

Quarto Websites

Official tutorial here. An example of a Quarto website is Lucy’s website. Also see Lucy’s slide deck on building a professional online presence for why you should have a website right now.

Once you’ve built a website (collection of html files), you will need to host it somewhere on the internet. Our recommendation is Github Pages or Netlify because they’re free.

Quarto Slides

Official tutorial here. An example of a Quarto slide deck is Lucy’s guest lecture in STAT 540. This uses our preferred format, reveal.js. You can download the slide deck WITH the source here. This is a great way to make your slide deck reproducible.