[R] how to save envir. when batch is halted

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Jan 6 20:19:05 CET 2003


?dump.frames has a worked example.

On Mon, 6 Jan 2003, Vadim Ogranovich wrote:

> Dear R-users,
>
> If for whatever reason a batch execution of my script halts I want R to save
> my current environment, along with .Traceback var, in the .RData file (in
> other words I need something like core dump).
>
> It seems however that if execution is halted via stop() no .RData file is
> dumped. So my question is how do produce the "core dump" or something to
> that effect?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list