physical {ff}R Documentation

Getting and setting physical and virtual attributes

Description

Functions for getting and setting physical and virtual attributes.

Usage

physical(x)
virtual(x)
physical(x) <- value
virtual(x) <- value
## S3 method for class 'physical':
print(x, ...)
## S3 method for class 'virtual':
print(x, ...)

Arguments

x a ff or ram object
value a list with named elements
... further arguments

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.

Value

physical and virtual returns a list with named elements

Author(s)

Jens Oehlschlägel

See Also

ff, as.ram;
is.sorted and na.count for applications of physical attributes;
levels.ff and ramattribs for applications of virtual attributes

Examples

  x <- ff(1:12)
  x
  physical(x)
  virtual(x)
  y <- as.ram(x)
  physical(y)
  virtual(y)
  delete(x)
  rm(x,y)

[Package ff version 2.0.0 Index]