Re: [R] Auto-save possible in R?

From: <>
Date: Sat 12 Aug 2006 - 16:15:16 EST

John Morrow a écrit :

> Hello fellow R'ers, I have a simple calculation with a very large data set
> being generated (34.9 million values) on a somewhat unreliable XP box that
> will likely take ~ 74hrs. I wanted to know if there is a way to have my
> script automatically "save.image()" throughout the calculation in case of a
> crash. This could be on the basis of output generated or time elapsed. I
> checked the archive, and only got a hint of it from:
> Any quick suggestions would be greatly appreciated,
> John Morrow

# make a save every hour
minutes = substr(date(),...);
if (minutes=='00') save_my_stuff;
hih mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat Aug 12 16:20:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 12 Aug 2006 - 18:18:14 EST.

Mailing list information is available at Please read the posting guide before posting to the list.