Changing the length of ff objects is only allowed if no vw
is used.
Changing the length of ff objects will remove any dim.ff
and dimnames.ff
attribute.
Changing the length of ff objects will remove any na.count
or is.sorted
attribute and warn about this.
New elements are usually zero, but it may depend on OS and filesystem what they really are.
If you want standard R behaviour: filling with NA ,you need to do this yourself.
As an exception to this rule, ff objects with names.ff
will be filled with NA's automatically,
and the length of the names will be adjusted (filled with position numbers where needed, which can easily consume a lot of RAM,
therefore removing 'names' will help to faster increase length without RAM problems).