Using Docker and RStudio for Reproducible Research

Docker and RStudio are two tools that can be used to increase the reproducibility of your data analysis. Such tools can make it easier for collaborators, other scientists, and “future you” to re-run statistics and create visualizations. This tutorial provides a very simple example of “containerizing” an R script and packages. There are certainly cases in which this example will fail to reproduce the data analysis. Reproducibility is a complex problem that requires continuous effort.

Access the tutorial here. In this tutorial, you will:

  1. Run a simple data analysis locally
  2. Run a template Docker container
  3. Build upon the template Docker container to create your own

The R-Ladies slides can be found here