Learn R Programming

disk.frame (version 0.8.3)

nchunks: Returns the number of chunks in a disk.frame

Description

Returns the number of chunks in a disk.frame

Usage

nchunks(df, ...)

nchunk(df, ...)

# S3 method for disk.frame nchunk(df, ...)

# S3 method for disk.frame nchunks(df, skip.ready.check = FALSE, ...)

Arguments

df

a disk.frame

...

not used

skip.ready.check

NOT implemented

Examples

Run this code
cars.df = as.disk.frame(cars)

# return the number of chunks
nchunks(cars.df)
nchunk(cars.df)

# clean up cars.df
delete(cars.df)

Run the code above in your browser using DataLab