move_to: Move or copy a disk.frame to another location

View source: R/move_to.r

move_toR Documentation

Move or copy a disk.frame to another location

Description

Move or copy a disk.frame to another location

Usage

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)

disk.frame documentation built on Aug. 24, 2023, 5:09 p.m.