Learn R Programming

disk.frame (version 0.8.3)

move_to: 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, ...)

Value

a disk.frame

Arguments

df

The disk.frame

outdir

The new location

...

NOT USED

copy

Merely copy and not move

Examples

Run this code
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)

Run the code above in your browser using DataLab