cars.df = as.disk.frame(cars)
# use collect to bring the data into RAM as a data.table/data.frame
collect(cars.df)
# clean up
delete(cars.df)
cars.df = as.disk.frame(cars)
# returns the result as a list
collect_list(cmap(cars.df, ~1))
# clean up
delete(cars.df)
cars.df = as.disk.frame(cars)
# use collect to bring the data into RAM as a data.table/data.frame
collect(cars.df)
# clean up
delete(cars.df)
Run the code above in your browser using DataLab