Preparations

Installation

During the official Quarto tutorials, you will be asked to install a number of software packages. Because the installation can take up some time, we recommend to install the following software beforehand, so you can skip these steps later:

  • In this workshop, we will use Quarto together with R but Quarto can also be used with Python, Julia, or Observable JS.

  • Make sure that you have a recent version of R and RStudio installed. You find instructions on how to install R and RStudio here.

  • RStudio comes with a version of Quarto preinstalled. However, this version can be outdated because Quarto is updated more frequently than RStudio. It is therefore recommended to install a recent version of Quarto after installing RStudio. You can download the current release version of Quarto here.

  • Install tinytex, a small version of TeX that can be used to build pdf documents with Quarto. Installed in this way, tinytex should not interfere with other TeX installations you might already have on your computer, but you can skip this step if you know that you already have TeX installed:

    • In RStudio, open a Terminal window: Tools > Terminal > New Terminal
    • Run the following code in the Terminal:
    Terminal
    quarto install tinytex

Create an RStudio project

During the Quarto tutorials, you will be asked to work with different files. This will be more intuitive and convenient if you have performed the following steps beforehand:

  • Create an RStudio project for the workshop (if you need more details, see this tutorial)
    • In RStudio go to File > New Project… > New Directory > New Project
    • Select where to put the project on your computer and select a meaningful name, e.g. Quarto_Workshop
    • Press Create Project (then you can always close RStudio and come back there later)
  • When downloading files during the Quarto tutorials, make sure to place all these files in the project folder
  • You can always double-click the .Rproj file in the project folder on your computer to open RStudio with the appropriate working directory set automatically, and the Files window in RStudio showing all files in the project folder

Let’s start the tutorial

You are now ready to start with the first tutorial on this page.