Move or copy a disk.frame to another location

move_to(df, outdir, ..., copy = FALSE)

copy_df_to(df, outdir, ...)

Arguments

df

The disk.frame

outdir

The new location

...

NOT USED

copy

Merely copy and not move

Value

a disk.frame

Examples

cars.df = as.disk.frame(cars) cars_copy.df = copy_df_to(cars.df, outdir = tempfile(fileext=".df")) cars2.df = move_to(cars.df, outdir = tempfile(fileext=".df")) # clean up delete(cars_copy.df) delete(cars2.df)