Assessment: How to submit
You should submit a .pdf
file, that is a rendered version of a Quarto Markdown file (qmd
file). This will allow you to write a research paper that also includes your working code, without the need of including the data (rendered .qmd
files are executed before being converted to R).
How to get a PDF?
- Install Quarto: Make sure you have Quarto installed. You can download it from quarto.org.
- LaTeX Installation: For PDF output, you’ll need a LaTeX distribution like TinyTeX from R, by executing this in the R console:
install.packages("tinytex")
::install_tinytex() tinytex
- Open the Quarto File: Open your
.qmd
file in RStudio. - Set Output Format: In the YAML header at the top of your Quarto file, specify
pdf
underformat
:
title: "Your Document Title"
author: "Anonymous" # do not change
format: pdf
- Click the Render button in the RStudio toolbar (next to the Knit button).