ff (version 2.2-14)

print.ff: Print and str methods

Description

printing ff objects and compactly showing their structure

Usage

# S3 method for ff
print(x, …)
# S3 method for ff_vector
print(x, maxlength = 16, …)
# S3 method for ff_matrix
print(x, maxdim = c(16, 16), …)
# S3 method for ff
str(object, nest.lev=0, …)
# S3 method for ffdf
str(object, nest.lev=0, …)

Arguments

x

a ff object

object

a ff object

nest.lev

current nesting level in the recursive calls to str

maxlength

max number of elements to print from an ff_vector

maxdim

max number of elements to print from each dimension from an ff_array

further arguments to print

Value

invisible()

Details

The print methods just print a few exmplary elements from the beginning and end of the dimensions.

See Also

ff, print, str

Examples

Run this code
# NOT RUN {
  x <- ff(1:10000)
  x
  print(x, maxlength=30)
  dim(x) <- c(100,100)
  x
  rm(x); gc()
# }

Run the code above in your browser using DataLab