I still recommend the pgfSweave package (as usual) -- you can cache both data objects (using cacheSweave) and graphics (using pgf).
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Dec 31, 2010 at 2:35 PM, Lars Bishop <lars...@gmail.com> 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.