On Wed, 2004-07-28 at 20:07, Thomas Lumley wrote:
On Wed, 28 Jul 2004, Liaw, Andy wrote:
I guess it would be nice if save() has an `append' option...
It would still have to read it in and out again, and then we would have
all the issues about multiple objects with the same name.
Hi,
I've saved an RData file with save and now I want to add a new object
to this file. At the moment I do:
attach(file.RData)
save(list=c(new,obj, ls(pos=2)), file=file.RData, compress=T)
detach()
Is there a quicker method that just add the object to the file ?
Thanks
EJ
I can't think of a faster way.
-roger
Ernesto Jardim wrote:
Hi,
I've saved an RData file with save and now I want to add a new object
to this file. At the moment I do:
attach(file.RData)
save(list=c(new,obj, ls(pos=2)), file=file.RData, compress=T)
detach()
Is there a quicker method that just add
I guess it would be nice if save() has an `append' option...
Andy
From: Roger D. Peng
I can't think of a faster way.
-roger
Ernesto Jardim wrote:
Hi,
I've saved an RData file with save and now I want to add
a new object
to this file. At the moment I do:
On Wed, 28 Jul 2004, Liaw, Andy wrote:
I guess it would be nice if save() has an `append' option...
It would still have to read it in and out again, and then we would have
all the issues about multiple objects with the same name.
-thomas
Andy
From: Roger D. Peng
I can't think
I don't think it is that simple. There are several save formats, some
historical that no one wants to touch. So suppose we confined it to the
current format. Then one would need a pass over the saved file to see
what (e.g. namespaces) should be shared and to find the existing
references, so