Computational Statistics

, Volume 24, Issue 2, pp 255–261 | Cite as

Caching code chunks in dynamic documents

The weaver package
Original Paper


Authoring dynamic documents can become tedious for authors when a document contains one or more time consuming code chunks and each edit requires reprocessing all of the document. We introduce the weaver package that allows computationally expensive code chunks to be cached in order to speed up the edit/process/review cycle for dynamic documents authored using the Sweave framework.


Dynamic documents Reproducible research Caching 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Gentleman R, Temple Lang D (2004) Statistical analyses and reproducible research. Technical Report 2, Bioconductor Project Working Papers.
  2. Gentleman R: Using GO for statistical analyses. In: Antoch, J(eds) Compstat 2004—proceedings in computational statistics, Heidelberg, pp. 171–180. Physica Verlag, Heidelberg (2004)Google Scholar
  3. Kuhn M (2007) odfWeave: Sweave processing of Open Document Format (ODF) files, R package version 0.4.8Google Scholar
  4. Leisch F (2002) Sweave: Dynamic generation of statistical reports using literate data analysis. In: Härdle W, Rönz B (eds) Compstat 2002—proceedings in computational statistics. Physika Verlag, Heidelberg, Germany, pp 575–580, ISBN 3-7908-1517-9Google Scholar
  5. R Development Core Team. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0Google Scholar
  6. Ramsey N: Literate programming simplified. IEEE Softw 11(5):97–105 (1994)CrossRefGoogle Scholar
  7. Rivest R (April 1992) RFC 1321: The MD5 message-digest algorithm, Status: INFORMATIONALGoogle Scholar

Copyright information

© Springer-Verlag 2008

Authors and Affiliations

  1. 1.Fred Hutchinson Cancer Research CenterSeattleUSA

Personalised recommendations