[R] appending objects to file created with save()

Jens Oehlschlägel jens.oehlschlaegel at truecluster.com
Tue May 25 20:36:37 CEST 2010

If you work with large data you might want to look at the ff package - useful if your data is close or above your RAM. The package has ffsave where with option add=TRUE you can add data to an existing ff archive. With ff data is stored outside of R in files, only meta-data is stored within R. An ff archive consists of two files, a zip file which stores the data (and to which you can add) and a standard .RData file which stores the meta-data using standard save(). 

-----Ursprüngliche Nachricht-----
Von: Jannis <bt_jannis at yahoo.de>
Gesendet: May 25, 2010 8:22:26 PM
An: r-help at r-project.org
Betreff: [R] appending objects to file created with save()

>is there a way to append R objects similar to the function save() to a binary file that already consists some previously saved R objects?
>I browsed the mailing list archive and only found some suggestions that include reading in the old file first and then saving the new objects together with the old ones. This would not be handy for me as my data is rather large.
>I have tried dump() but this does not seem to compress my data.
>R-help at r-project.org mailing list
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list