00:07
Reproducible Data Analysis at the Speed of Thought
Heidelberg Institute for Theoretical Studies
2023-12-19
“The mean number of blows necessary to open a mussel was 35.5 […].
The same stone was frequently retained for several successive food items, […]”— Hall and Schaller (1964)
“Give me six hours to cut down a tree and I will spend the first four sharpening the axe.”
— Abraham Lincoln
“Give me six minutes to open a mussel and I will spend the first four finding the perfect rock.”
—
AbrahamOtterham Lincoln
Humans don’t just use tools.
We shape and perfect them.
Hi, I’m Jannik!
Computational Biochemist at
HITS and Heidelberg University
I use Quantum Mechanical Simulations to study how Collagen breaks under force
I love building and teaching tools 🧰
Next iteration of Rmarkdown
.
https://docs.ropensci.org/targets/
R package for reproducible workflows.
hyperextensible Vim-based text editor
00:07
xfwiadcnanvrqybceawgjdczlyhlwoovxxce
How many of these letters do you remember?
00:07
The quick brown fox jumps over the lazy dog
Do you remember the sentence on the previous slide?
Of course you do, it’s just one sentence!
But it has the same number of letters as the random letters.
One piece of information is a chunk.
We can keep 7 (± 2) chunks in our working memory (Miller 1956).
We gain space by combining thoughts and concepts
Letters → Words → Sentences → Concepts
An open-source scientific and technical publishing system.
qmd
files are just plain text!
---
title: "quarto demo"
format:
html:
code-fold: true
---
## Air Quality
@fig-airquality further explores the impact of temperature on ozone level.
```{r}
#| label: fig-airquality
#| fig-cap: "Temperature and ozone level."
library(ggplot2)
ggplot(airquality, aes(Temp, Ozone)) +
geom_point() +
geom_smooth(method = "loess"
)
```
🖥️📱📰
“I have a machine learning model that takes 6 hours to calculate. […] how do I put this in a Quarto notebook?”
Well, don’t!
https://docs.ropensci.org/targets/
Function-oriented Make-like declarative workflows for R.
Aim for pure functions that take inputs and produce outputs without side effects.
Modal editing allows us to communicate with the editor.
Complicated operations become one chunk.
Free up resources for the important questions.
Demo Time!
Keyboard shortcuts are for thoughts, not just speed ⌨️
Reproducibility and Interactivity can go hand in hand ▶️
Find your favorite rock 🪨
And sharpen the axe 🪓
Slides: https://jmbuhr.de/2023-workflow
\[ g \circ f = h\ \]