[R] A way to get the R data stored temporarily in working memory?
murdoch at stats.uwo.ca
Mon Apr 27 15:58:13 CEST 2009
On 4/27/2009 8:52 AM, Friedericksen wrote:
> Hey guys,
> I have a problem: I created a silly for loop without saving the results
> on each step. After a while I realised that it will take days to finish
> the loop until I get the results.
> Is there a way to get the data R saves in working memory or in a
> temporary file while runing the loop? So that stoping the loop will not
> result in complete data loss?
> Thank you very much!
You can use an explicit save() to write out a list of variables (or
save.image() to write out all of them) but then you need to work out how
to restart from one of these images.
More information about the R-help