length.ff {ff}R Documentation

Getting and setting length

Description

Gets and sets length of ff objects.

Usage

## S3 method for class 'ff':
length(x)
## S3 method for class 'ff':
length(x) <- value

Arguments

x object to query
value new object length

Details

Length of ff objects can be reduced below maxlength. Increasing length beyond maxlength should be avoided because it triggers clone.

Value

Integer scalar

Author(s)

Jens Oehlschlägel

See Also

maxlength, poslength, maxindex, dim, virtual

Examples

  x <- ff(1:12)
  maxlength(x)
  length(x)
  length(x) <- 10
  maxlength(x)
  length(x)
  length(x) <- 16
  maxlength(x)
  length(x)
  delete(x)
  rm(x)

[Package ff version 2.0.0 Index]