srckeep: Keep only the variables from the input listed in selections

View source: R/srckeep.disk.frame.r

srckeepR Documentation

Keep only the variables from the input listed in selections

Description

Keep only the variables from the input listed in selections

Usage

srckeep(diskf, selections, ...)

Arguments

diskf

a disk.frame

selections

The list of variables to keep from the input source

...

not yet used

Examples

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

# when loading cars's chunks into RAM, load only the column speed
collect(srckeep(cars.df, "speed"))

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

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