Boston College
2025-08-11
Being open and transparent across all stages of the research process
Key principles:
Open access
Open data
Open code
Today we are going to focus on reproducible manuscript
Combine narrative with code (literate programming)
Automatically generate figures and tables
Automatically render results in text
Format the content into a scientific paper (including citations!)
Something that looks pretty!
Rinse & repeat
Websites (https://www.drjasongeller.com)
Want to guess how I created these slides?
Quarto handles literate programming by using a series of programs:
How Quarto Works (Source)
knitr
executes all code chunks and creates a new markdown (.md
) filepandoc
takes the markdown file generated and converts it to the desired format.Always start a new project folder!
Creating a Quarto manuscript
In the top left, click the White Plus and select “Quarto Document…”
In the new prompt, enter a title, author name, and press “Create”
Visual Mode represents a What You See Is What You Get (WYSIWYG) editor. This mode is similar to Word.
Annotated sections of the “Hello Quarto” document related to document information, text formatting, and code execution
Annotated source to output of the “Hello Quarto” document
Annotated “Hello Quarto” document navigation options
---
title: My Reproducible Manuscript
authors:
- name: Norah Jones
affiliation: The University
roles: writing
corresponding: true
bibliography: references.bib
format: html
---
Wait… what’s the YAML acronym?
Originally: “Yet Another Markup Language”
Later: “YAML Ain’t Markup Language”
Set global manuscript options with key-value pairs
OPAM 2025