[R] reproduction archives
Laurent Gatto
laurent.gatto at gmail.com
Mon Jun 6 07:51:23 CEST 2011
On 5 June 2011 21:07, Alexander Shenkin <ashenkin at ufl.edu> 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
sessionInfo() is your friend here. And when included in a Sweave
report, toLatex(sessionInfo()) will itemize the output.
Hope this helps,
Laurent
> 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).
>
> 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