Skip to contents

First converts local R dataframe to Spark DataFrame using SparkR, then appends it to the specified table.

Usage

rdf2tab(rdf, outpath, drid = NULL, ...)

Arguments

rdf

Local R dataframe

outpath

Path to output table.

drid

dracarys ID to use for the dataset (e.g. wfrid.123, prid.456)

...

Additional arguments for SparkR::write.df.

Examples

if (FALSE) { # \dontrun{
rdf <- mtcars
rdf2tab(rdf, "dev.wf1.mtcars", drid = "wfr.123")
} # }