sub-sub-.disk.frame: [[ interface for disk.frame using fst backend

[[.disk.frameR 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)

disk.frame documentation built on Aug. 24, 2023, 5:09 p.m.