sparklyr (version 0.4)

copy_to: Copy a local R data frame to Spark

Description

Copy a local R data frame to Spark

Usage

# S3 method for spark_connection
copy_to(dest, df, name = deparse(substitute(df)),
  memory = TRUE, repartition = 0, overwrite = FALSE, ...)

Arguments

dest

A Spark connection

df

Local data frame to copy

name

Name of the destination table

memory

Cache table into memory

repartition

Partitions used to distribute table or 0 (default) to avoid partitioning

overwrite

When TRUE, overwrites table with existing name

...

Unused

Value

dplyr compatible reference to table

See Also

Other dplyr: tbl_cache, tbl_uncache