Prework

1. Download the exercise materials

  • From FWS Apps-To-Go, install:
    • R 4.4.2 or newer
    • RStudio 2024.09.1 or newer
  • Open a new RStudio session.
  • Download the exercise materials. This function creates a new RStudio project called “intro-to-quarto-exercises-main”.
if (!require("usethis")) install.packages("usethis")
usethis::use_course("https://github.com/USFWS/intro-to-quarto-exercises/archive/refs/heads/main.zip")

2. Install R package dependencies

  • Open this new RStudio project, if it’s not already open.
  • Install the R package dependencies:
source("install_packages.R")

3. Install tinyTeX

  • To render Quarto documents as a PDF, you will need to install a version of LaTex. You can do this by running the function below:
tinytex::install_tinytex()