physical: Physical and virtual attributes
Description
Compatibility functions (to package ff) for getting and setting physical and virtual attributes.
Usage
physical(x)
virtual(x)
physical(x) <- value
virtual(x) <- value
# S3 method for default
physical(x)
# S3 method for default
virtual(x)
# S3 method for default
physical(x) <- value
# S3 method for default
virtual(x) <- value
# S3 method for physical
print(x, …)
# S3 method for virtual
print(x, …)
Arguments
value
a list with named elements
Value
physical
and virtual
returns a list with named elements
Details
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.
as.ram
will retain some physical and virtual atrributes in the ram clone,
such that as.ff
can restore an ff object with the same attributes.