Week 4 Live Session (Fall 2026)
This lesson is called Week 4 Live Session (Fall 2026), part of the R in 3 Months (Fall 2026) course. This lesson is called Week 4 Live Session (Fall 2026), part of the R in 3 Months (Fall 2026) course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Loading transcript...
We opened week four by asking how participants might use Quarto, then reviewed the Oregon by the Numbers bar chart exercise from the previous session. We also covered when data is "real" in R, worked through a Quarto code chunk exercise, and answered questions on document structure, plot size, columns and styling.
You'll learn:
- How to build a labelled bar chart in {ggplot2} by mapping x, y and fill, and how to place labels with a fixed x value or an offset such as amount minus 5,000
- Why objects in the environment are ephemeral and why saving the code that recreates them matters for reproducibility
- How to fix a Quarto document that fails to render because the {tidyverse} was loaded after read_csv was used, since documents run top to bottom
- How to control output with the echo, include, output, warning and message chunk options, set globally in the YAML and overridden per chunk
- How to structure a Quarto report (packages, data import, custom functions, then output chunks) and adjust figure size and multi-column layouts
Resources mentioned:
- Quarto
- Positron
- {ggplot2}
- {tidyverse}
- {camcorder}
- Typst
- R Markdown
- What They Forgot to Teach You About R
- {tinytex}
- brand.yml
Key moments:
- 02:10 Participants share how they plan to use Quarto
- 06:09 Additional lessons recorded by the coaches
- 09:28 Reviewing the Oregon by the Numbers chart exercise
- 16:30 Why labels use x equals 10,000
- 19:32 Question on adjusting chart size and the {camcorder} package
- 22:11 Question on adding icons, with layout done in Typst
- 25:02 When is data real in R
- 28:46 Question on what goes in the data folder versus data raw
- 42:05 Fixing the Quarto document that will not render
- 45:43 Hiding code and output with echo, include and output options
- 52:46 How to structure a Quarto document
- 58:00 Multi-column layouts and customizing look with brand.yml
Have any questions? Put them below and we will help you out!
Course Content
143 Lessons
You need to be signed-in to comment on this post. Login.