bit (version 4.0.5)

physical.default: Physical and virtual attributes

Description

Compatibility functions (to package ff) for getting and setting physical and virtual attributes.

Usage

# 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

Value

physical and virtual returns a list with named elements

Arguments

x

a ff or ram object

value

a list with named elements

...

further arguments

Author

Jens Oehlschlägel

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

  physical(bit(12))
  virtual(bit(12))

Run the code above in your browser using DataCamp Workspace