[R] save/load doubles memory [oops]
Ross Boylan
ross at biostat.ucsf.edu
Tue Sep 17 21:51:04 CEST 2013
On Tue, 2013-09-17 at 14:39 -0500, luke-tierney at uiowa.edu wrote:
> At this point R's serialization format only preserves sharing of
> environments; any other sharing is lost. Changing this will require an
> extensive rewrite of serialization. It would be useful to have this,
> especially as we are trying to increase sharing/decrease copying, but
> it isn't likely any time soon.
>
> Best,
>
> luke
Thanks for the info.
Does this apply save.image() as well, i.e., can simply saving a
workspace, quitting, starting and reloading result in more memory use?
While searching about this issue I came across saveRDS. Does that
operate any differently with respect to sharing?
Ross
More information about the R-help
mailing list