Skip to content

Save workspace with ff objects

1 message · Jens Oehlschlägel

#
With one save() you can store as many ff objects as you like. 
However, this does not save the ff files to a different location.
When loading the ff objects, the ff files need to be in their original locations.
You need to make sure that you do not overwrite those 
and they survive finalizer and tempdir remove at rm(ff) or q() time.
Do read the ff help on parameters 'filename', 'pattern', 'finalizer', 'finonexit'.

The next version of ff will have ffsave() 
which will store a mixture of normal and ff objects 
*and* all ff-files into a ffarchive, i.e. two files 
<ffarchive>.RData and <ffarchive>.ffData 
from which you can restore all or a selection of 
ff objects / files using the ffload() command.

Regards
Jens Oehlschl?gel