Learn R Programming

ff (version 4.0.4)

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, …)

Arguments

x

ff or ram object

additional arguments (not used)

Value

integer scalar

See Also

length.ff, maxindex

Examples

Run this code
# NOT RUN {
  x <- ff(1:12)
  length(x) <- 10
  length(x)
  maxlength(x)
  x
  rm(x); gc()
# }

Run the code above in your browser using DataLab