Category: knitr
-
An Introduction to Reproducible Research in R and R Studio.
**Updated 4th April 2016** I have recently volunteered to give a few talks on how straightforward it us to conduct research in a reproducible manner using R and the R Studio environment. This talk covers the following topics: What is reproducible research, and why should we do it? Four simple rules for reproducibility. A step by step…
-
Make R beep when R Markdown finishes – or when it fails.
I often run time-consuming scripts, so I’m a big fan of ‘s Rasmus Bååth beepr package in R. I often put beep() at the end of my .R files to let me know when analyses are done. However, when using R Markdown and knitr in RStudio, this is a poor solution when there is an…