Re: [R] Saving environment object

2008-08-15 Thread Luke Tierney
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

Re: [R] Saving environment object

2008-08-15 Thread Erik Iverson
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

Re: [R] Saving environment object

2008-08-15 Thread Benjamin Otto
: Erik Iverson [mailto:[EMAIL PROTECTED] Gesendet: Friday, August 15, 2008 3:37 PM An: Benjamin Otto Cc: R-Help Betreff: Re: [R] Saving environment object Benjamin Otto wrote: Hi, When I create an environment object with new.env() and populate it with values then how can I save

Re: [R] Saving environment object

2008-08-15 Thread Erik Iverson
Of course you said when you load it again. I just now loaded it, without error. FYI, my sessionInfo(), which I realize is not the latest version. sessionInfo() R version 2.7.0 (2008-04-22) i686-pc-linux-gnu locale:

Re: [R] Saving environment object

2008-08-15 Thread Prof Brian Ripley
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()

Re: [R] Saving environment object

2008-08-15 Thread Prof Brian Ripley
Having been told that this was a particular very large environment, Luke's comments in serialize.c wouild seem to apply: The output format for dotted pairs writes the ATTRIB value first rather than last. This allows CDR's to be processed by iterative tail calls to avoid recursion

Re: [R] Saving environment object

2008-08-15 Thread Luke Tierney
On Fri, 15 Aug 2008, Prof Brian Ripley wrote: Having been told that this was a particular very large environment, Luke's comments in serialize.c wouild seem to apply: The output format for dotted pairs writes the ATTRIB value first rather than last. This allows CDR's to be processed by

Re: [R] Saving environment object

2008-08-15 Thread Henrik Bengtsson
: Erik Iverson [mailto:[EMAIL PROTECTED] Gesendet: Friday, August 15, 2008 3:37 PM An: Benjamin Otto Cc: R-Help Betreff: Re: [R] Saving environment object Benjamin Otto wrote: Hi, When I create an environment object with new.env() and populate it with values then how can I save

Re: [R] Saving environment object

2008-08-15 Thread Benjamin Otto
-Help Betreff: Re: [R] Saving environment object On Fri, 15 Aug 2008, Prof Brian Ripley wrote: Having been told that this was a particular very large environment, Luke's comments in serialize.c wouild seem to apply: The output format for dotted pairs writes the ATTRIB value first rather