printing ff objects and compactly showing their structure
# 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, …)
a ff object
a ff object
current nesting level in the recursive calls to str
max number of elements to print from an ff_vector
max number of elements to print from each dimension from an ff_array
further arguments to print
invisible()
The print methods just print a few exmplary elements from the beginning and end of the dimensions.
# 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