Compatibility functions (to package ff) for getting and setting physical and virtual attributes.
# S3 method for default
physical(x)# S3 method for default
physical(x) <- value
# S3 method for default
virtual(x)
# S3 method for default
virtual(x) <- value
# S3 method for physical
print(x, ...)
# S3 method for virtual
print(x, ...)
physical(x)
physical(x) <- value
virtual(x)
virtual(x) <- value
physical
and virtual
returns a list with named elements
a ff or ram object
a list with named elements
further arguments
Jens Oehlschlägel
ff objects have physical and virtual attributes, which have different
copying semantics: physical attributes are shared between copies of ff
objects while virtual attributes might differ between copies.
ff::as.ram()
will retain some physical and virtual atrributes in
the ram clone, such that ff::as.ff()
can restore an ff object
with the same attributes.
ff::physical.ff()
, ff::physical.ffdf()
physical(bit(12))
virtual(bit(12))
Run the code above in your browser using DataLab