Session 1: Getting to know Quarto
Tuesday, July 18, 2023
Download or update the latest versions of R, RStudio, Quarto and git:
4.3
(or 4.2 or above): https://cran.r-project.org2023.06.0+421
or above: https://posit.co/download/rstudio-desktop1.3.433
or above: https://quarto.org/docs/get-started2.37.1
or above: https://git-scm.com/book/en/v2/Getting-Started-Installing-GitInstall the following packages:
day01-exercises.zip
. Then, go to RStudio > File > New Project > Existing Directory and navigate to the unzipped day01-exercises
folder and create an RStudio project in there and open it.Write on a sticky-note:
02:00
We will not cover any of these tools in depth, but I have included links for more details.
We will focus on:
Session | Objectives |
---|---|
Getting to Know Quarto |
|
AEA Replication Packages |
|
Session | Objectives |
Producing and Publishing Websites |
|
More Quarto for Academics |
|
I’ll assume you
work with small-medium data
regularly write and debug code
know some basic LaTex and have heard of markdown
can use and edit a template even if you don’t fully understand what it is doing
I’ll teach you
Quarto syntax and formats
requirements for an AEA replication package
just enough git and GitHub to publish a website
In class:
Slides, exercises and useful links are all available at:
Have you completed the prework tasks?
Download or update the latest versions of R, RStudio, Quarto and git:
4.3
(or 4.2 or above): https://cran.r-project.org2023.06.0+421
or above: https://posit.co/download/rstudio-desktop1.3.433
or above: https://quarto.org/docs/get-started2.37.1
or above: https://git-scm.com/book/en/v2/Getting-Started-Installing-GitInstall the following packages:
day01-exercises.zip
. Then, go to RStudio > File > New Project > Existing Directory and navigate to the unzipped day01-exercises
folder and create an RStudio project in there and open it..qmd
, .rmd
, .md
) into static PDF/Word/HTML reports, books, websites, presentations and more.day01-exercises
my_first_doc.qmd
Help > Markdown Quick Reference
to add more content.15:00
quarto render
:quarto render my_first_doc.qmd
,quarto::quarto_render("my_first_doc.qmd")
05:00
quarto
package calls the Quarto command line interface (CLI) – quarto render my_doc.qmd
knitr
or jupyter
which return a .md
file along with the evaluated code.md
file by Pandoc and converted to a final output formatinclude-code-files
later in this workshop, but won’t go into details of how they work or how to write them.