[R] reproduction archives

Duncan Murdoch murdoch.duncan at gmail.com
Sun Jun 5 23:11:50 CEST 2011


On 11-06-05 4:07 PM, Alexander Shenkin wrote:
> Hello Folks,
>
> As some of my old code broke when an updated package changed its
> interface, I started thinking about reproduction of analyses.  It's not
> good enough to save our code - we have to save the package versions
> those analyses used as well as the R-core.  I saw a couple references to
> "reproduction archives" around, but nothing specific.  Is there any good
> way to package up code along with the relevant packages and R version in
> order to guarantee that we can reproduce our results in the future?  I
> suppose that one could make note of all package versions, etc, but
> automating the process would mean that it would be followed more often.
> (also, tracking down those packages and installing them all just to
> reproduce a result could be an undertaking).

If you get your packages from CRAN, you should be able to retrieve old 
versions indefinitely.  The important thing is to know what version to 
ask for.  But when you wrote up your report, you cited R (including its 
version) and each package with version, right?

Duncan Murdoch

>
> Thanks,
> Allie
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list