Learn R Programming

disk.frame (version 0.7.1)

as.data.table.disk.frame: Convert disk.frame to data.table by collecting all chunks

Description

Convert disk.frame to data.table by collecting all chunks

Usage

# S3 method for disk.frame
as.data.table(x, keep.rownames = FALSE, ...)

Arguments

x

a disk.frame

keep.rownames

passed to as.data.table

...

passed to as.data.table

Examples

Run this code
# NOT RUN {
library(data.table)
cars.df = as.disk.frame(cars)
as.data.table(cars.df)

# clean up
delete(cars.df)
# }

Run the code above in your browser using DataLab