[R] saving an object

2008-09-04 Thread Rajasekaramya
Hi there, I have a dataset stored in an object which has very huge volume of rows.I want to reuse it for comparing with other datasets.I dont want it to reload every time i run the script.Is there a way of saving a particular loaded object in the workspace and reusing it. Kindly help me.

Re: [R] saving an object

2008-09-04 Thread Williams, Robin
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajasekaramya Sent: Thursday, September 04, 2008 4:36 PM To: r-help@r-project.org Subject: [R] saving an object Hi there, I have a dataset stored in an object which has very huge volume of rows.I want to reuse it for comparing with other

Re: [R] saving an object

2008-09-04 Thread Henrik Bengtsson
] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajasekaramya Sent: Thursday, September 04, 2008 4:36 PM To: r-help@r-project.org Subject: [R] saving an object Hi there, I have a dataset stored in an object which has very huge volume of rows.I want

[R] Saving environment object

2008-08-15 Thread Benjamin Otto
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:

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