Learn R Programming

disk.frame (version 0.3.7)

disk.frame: 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab