Abstract
We present the cacher package for \proglang{R}, which provides tools for caching statistical analyses and for distributing these analyses to others in an efficient manner. The cacher package takes objects created by evaluating R expressions and stores them in key-value databases. These databases of cached objects can subsequently be assembled into packages for distribution over the web. The cacher package also provides tools to help readers examine the data and code in a statistical analysis and reproduce, modify, or improve upon the results. In addition, readers can easily conduct alternate analyses of the data. We describe the design and implementation of the cacher package and provide two examples of how the package can be used for reproducible research.
Disciplines
Numerical Analysis and Computation
Suggested Citation
Peng, Roger D., "Caching and Distributing Statistical Analyses in R" (April 2008). Johns Hopkins University, Dept. of Biostatistics Working Papers. Working Paper 169.
https://biostats.bepress.com/jhubiostat/paper169