Reproducibility for the Rest of Us
Literate Programming with Quarto
This lesson is called Literate Programming with Quarto, part of the Reproducibility for the Rest of Us course. This lesson is called Literate Programming with Quarto, part of the Reproducibility for the Rest of Us 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...
Your Turn
Copy the demonstration to combine the text and code files and format for rendering
Try rendering the file to html
Try rendering the file to Microsoft Word, creating and adding a template, and rendering again
Learn More
Get Started with Quarto workshop materials by Tom Mock
Welcome to Quarto Workshop! by Tom Mock
Have any questions? Put them below and we will help you out!
Course Content
12 Lessons
You need to be signed-in to comment on this post. Login.
Marina Gimenez • January 16, 2026
in general for data analysis, do you recommend start directly on quarto or to have like a separate script file that you can add to quarto once there is a proper report to make? Quarto is not the place document the analysis and show temporary results to co-workers?
David Keyes Founder • January 16, 2026
Personally, I tend to do all my data cleaning, data wrangling, etc. in an R script file and then move to Quarto just for reporting. But that's really just my personal preference, many people do it differently.
Jenine Harris • January 20, 2026
For me it depends on how much code I am writing. If it is just a couple of graphs or a small amount of analysis, I might put them all into one Quarto document and knit it to show drafts. If there is a lot of code, I have a .R file with the code in it and link to it from the quarto document in the YAML.