[R] Sweave for "big" data analysis
sarah.goslee at gmail.com
Sat Jan 1 00:06:44 CET 2011
My very simple approach is to check if the output file exists (within the
Sweave file), and run the time-consuming bits only if it does not.
As Uwe says, there are more sophisticated approaches too.
On Fri, Dec 31, 2010 at 3:35 PM, Lars Bishop <lars52r at gmail.com> wrote:
> 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.
More information about the R-help