02:00
Quarto - authoring and publishing tools for collaborative scientific writing
April 3, 2024
This class is being recorded. Access to the recording is restricted to course participants on the Moodle platform.
Lars Schöbitz
Learn to use the Quarto file format and the RStudio IDE visual editing mode to produce scholarly documents with citations, footnotes, cross-references, figures, and tables.
Learn to use Quarto Pub to publish a website and share research with a broader audience.
Think about the last time you published a written document:
Take some written notes.
02:00
authoring and publishing workflows for collaborative scientific writing
Every student will have a personal, published, free website that links to their (academic) profiles, shows slides, and has the potential to be used as a (scientific) blog.
Quarto
RStudio IDE on Posit Cloud
Quarto Pub
During my turn and our turn segments: Please keep your microphone on mute. Send message to the Zoom chat and we will try to support you.
During your turn segments: Due to the large number of participants, it will not be feasible to join individual break-out rooms, but you will always be working in pairs.
I’ll assume you
do not have R experience
have not worked in an IDE before (e.g. RStudio IDE)
want to learn about Quarto
I’ll teach you
Quarto syntax and formats
Markdown
Some R along the way!
Sit back and enjoy!
exercises
projecthello-penguins.qmd
in RStudio from the Files tab in the bottom-right window10:00
Quarto comes “batteries included” straight out of the box
revealjs
)Feature | R Markdown | Quarto |
---|---|---|
Basic Formats | ||
Beamer | beamer_presentation | beamer |
PowerPoint | powerpoint_presentation | pptx |
HTML Slides | revealjs | |
Advanced Layout | Quarto Article Layout |
Feature | R Markdown | Quarto |
---|---|---|
Cross References | Quarto Crossrefs | |
Websites & Blogs | ||
Books | bookdown | Quarto Books |
Interactivity | Shiny Documents | Quarto Interactive Documents |
Journal Articles | rticles | Journal Articles |
Dashboards | flexdashboard | Coming soon! |
In your exercises project in RStudio on Posit Cloud, go to File > New File > Quarto document to create a Quarto document with HTML output. Render the document, which will ask you to give it a name – you can use my-first-document.qmd
. Use the visual editor for the next steps.
In the YAML header at the top of the document, add a title in the title:
field and your name to the author:
field.
Create three sections in the document formatted as Heading 2, name these sections
Stretch goal: In the YAML header add a table of contents in the format:
field. Tipp: Check quarto.org and use search function with “HTML table of contents”
Stretch goal: Change the html theme to sketchy
. Tipp: Check quarto.org and use search function with “HTML theming”
10:00
Please get up and move! Let your emails rest in peace.
10:00
Image generated with DALL-E 3 by OpenAI
Slides created via revealjs and Quarto: https://quarto.org/docs/presentations/revealjs/
Access slides as PDF on GitHub
All material is licensed under Creative Commons Attribution Share Alike 4.0 International.