bit (version 1.1-14)

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

x

a ff or ram object

value

a list with named elements

further arguments

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.

See Also

physical.ff, physical.ffdf

Examples

Run this code
# NOT RUN {
  physical(bit(12))
  virtual(bit(12))
# }

Run the code above in your browser using DataCamp Workspace