[R] Sweave, and long lasting scripts

Thibaut Jombart jombart at biomserv.univ-lyon1.fr
Fri Nov 2 11:47:25 CET 2007


John Lande wrote:

>Dear R user,
>
>I am using Sweave to write my reports with R code. Unlucly my code take a
>lot of time to run, and I don't want to run it multiple time, if possible,
>as I am still developping the tools.
>
>It seems that a sweave run does not save the enviroment at the end of the
>process, is there a way to avoid to lunch multiple time the same commands?
>maybe it could be possible to store chunck of code results, and only call
>them in the next runs.
>
>thank you
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>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.
>
>
>  
>
Hi,

the package 'cacheSweave' seems to fulfil your needs.

Regards,

Thibaut.

-- 
######################################
Thibaut JOMBART
CNRS UMR 5558 - Laboratoire de Biométrie et Biologie Evolutive
Universite Lyon 1
43 bd du 11 novembre 1918
69622 Villeurbanne Cedex
Tél. : 04.72.43.29.35
Fax : 04.72.43.13.88
jombart at biomserv.univ-lyon1.fr
http://lbbe.univ-lyon1.fr/-Jombart-Thibaut-.html?lang=en
http://pbil.univ-lyon1.fr/software/adegenet/



More information about the R-help mailing list