Number of rows or columns

nrow(df, ...)

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

ncol(df)

# S3 method for disk.frame
ncol(df)

Arguments

df

a disk.frame

...

passed to base::nrow

Examples

cars.df = as.disk.frame(cars)

# return total number of column and rows
ncol(cars.df)
#> [1] 2
nrow(cars.df)
#> [1] 50

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