Google for "cache" and "Sweave" and you will find more than one package
that extend Sweave and provide kinds of caching, i.e. roughly what you
have in mind anyway.
Best,
Uwe Ligges
On 31.12.2010 21:35, Lars Bishop wrote:
Hi,
Maybe I'm missing the point here...but let's suppose you are working with
"large" data sets and using functions that take a significant amount of time
to run in R. I woulnd't like to run these functions every time I call
Sweave("myfile.Rnw") within R. What is the "common" practice to use Sweave
in these situations. I would just run the function once, save the results
and only load them each time I run Sweave on the .Rnw file. Makes sense?
Sorry, the question seems silly, but I'd appreciate your thoughts.
Thanks,
Lars.
[[alternative HTML version deleted]]
______________________________________________
R-help@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.
______________________________________________
R-help@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.