[R] Saving environment object

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Aug 15 16:32:56 CEST 2008


Not so in general, so we need the details asked for in the posting guide, 
including a reproducible example.  (Environments get saved all the time: 
they are a fundamental part of R's operations.)

On Fri, 15 Aug 2008, Benjamin Otto wrote:

> Hi,
>
> When I create an environment object with new.env() and populate it with
> values then how can I save it into an .RData file properly, so it can be
> loaded later on in a new session?
>
> Saving an environment object with save() or save.image() results in an error
> message when loading again:
>
> Error: protect(): protection stack overflow
>
> Regards,
>
> benjamin
>
> ======================================
> Benjamin Otto
> University Hospital Hamburg-Eppendorf
> Institute For Clinical Chemistry
> Martinistr. 52
> D-20246 Hamburg
>
> Tel.: +49 40 42803 1908
> Fax.: +49 40 42803 4971
> ======================================


-- 
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