Cleaner Scripts
R
best practices
R-SIG
R-SIG 09.10.2023
Some general take-aways
- Markdown vs. Quarto vs. R-Skripte
- Quarto is more up to date than R-Markdown
- Markdown has more dependencies, so I would now use .R-Scripts instead, if I don’t need the markdown features.
- In the end it’s a question of preference.
- Write packages on top of the script.
- Write down verion number (use
sessionInfo()
). - Or, even better: use
renv
.
Footnotes
Image by Markus Spiske on Unsplash.↩︎