Compact takes a ff vector and tries to use the smallest binary data type for this vector.
# S3 method for ff
compact(x, use.na = TRUE, ...)
ff
or ffdf
object
logical
if TRUE the resulting ff vector can contain NA, otherwise this is not checked
other parameters
compact cloned ff vector, or original if no compacting can be done