disk.frame: Create a disk.frame from a folder

View source: R/disk.frame.r

disk.frameR Documentation

Create a disk.frame from a folder

Description

Create a disk.frame from a folder

Usage

disk.frame(path, backend = "fst")

Arguments

path

The path to store the output file or to a directory

backend

The only available backend is fst at the moment

Examples

path = file.path(tempdir(),"cars")
as.disk.frame(cars, outdir=path, overwrite = TRUE, nchunks = 2)
df = disk.frame(path)
head(df)
nchunks(df)
# clean up
delete(df)

xiaodaigh/disk.frame documentation built on Feb. 3, 2023, 10:04 p.m.