Learn R Programming

ff (version 4.5.0)

maxlength: Get physical length of an ff or ram object

Description

maxlength returns the physical length of an ff or ram object

Usage

maxlength(x, ...)
# S3 method for ff
maxlength(x, ...)
# S3 method for default
maxlength(x, ...)

Value

integer scalar

Arguments

x

ff or ram object

...

additional arguments (not used)

Author

Jens Oehlschlägel

See Also

length.ff, maxindex

Examples

Run this code
  x <- ff(1:12)
  length(x) <- 10
  length(x)
  maxlength(x)
  x
  rm(x); gc()

Run the code above in your browser using DataLab