get_chunk_ids {disk.frame} | R Documentation |
Get the chunk IDs and files names
Description
Get the chunk IDs and files names
Usage
get_chunk_ids(df, ..., full.names = FALSE, strip_extension = TRUE)
Arguments
df |
a disk.frame |
... |
passed to list.files |
full.names |
If TRUE returns the full path to the file, Defaults to FALSE |
strip_extension |
If TRUE then the file extension in the chunk_id is removed. Defaults to TRUE |
Examples
cars.df = as.disk.frame(cars)
# return the integer-string chunk IDs
get_chunk_ids(cars.df)
# return the file name chunk IDs
get_chunk_ids(cars.df, full.names = TRUE)
# return the file name chunk IDs with file extension
get_chunk_ids(cars.df, strip_extension = FALSE)
# clean up cars.df
delete(cars.df)
[Package disk.frame version 0.8.3 Index]