[[.disk.frame {disk.frame} | R Documentation |
[[ interface for disk.frame using fst backend
Description
[[ interface for disk.frame using fst backend
Usage
## S3 method for class 'disk.frame'
df[[
...,
keep = NULL,
rbind = TRUE,
use.names = TRUE,
fill = FALSE,
idcol = NULL
]]
Arguments
df |
a disk.frame |
... |
same as data.table |
keep |
the columns to srckeep |
rbind |
Whether to rbind the chunks. Defaults to TRUE |
use.names |
Same as in data.table::rbindlist |
fill |
Same as in data.table::rbindlist |
idcol |
Same as in data.table::rbindlist |
Examples
cars.df = as.disk.frame(cars)
speed_limit = 50
cars.df[[speed < speed_limit ,.N, cut(dist, pretty(dist))]]
# clean up
delete(cars.df)
[Package disk.frame version 0.8.3 Index]