cboettig/earlywarning

By cboettig

Updated over 7 years ago

Image

283

Dockerfile for earlywarning package

To run any of the analyses from this paper, install docker

For instance, we can run the simulation.Rmd script using:

docker run -w /earlywarning/inst/examples -d \
  --name earlywarning cboettig/earlywarning \
  Rscript -e 'rmarkdown::render("simulation.Rmd")'

and simply replace simulation.Rmd with chemostat.Rmd or glaciation.Rmd to run the corresponding analysis.

Copy the resulting (stand-alone) html files to the host for viewing:

docker cp earlywarning:/earlywarning/inst/examples/simulation.html .

Docker Pull Command

docker pull cboettig/earlywarning