Skip to content
Coming soon: Ally. Your guide to the world of AI and R. Learn More →
R for the Rest of Us Logo

Reproducibility for the Rest of Us

Literate Programming with Quarto

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.

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

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Marina Gimenez

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

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

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.