Description Usage Arguments Examples
Convert to a SparkR SparkDataFrame
1 2 3 4 5 6 7 | as_SparkDataFrame(x, ...)
## S3 method for class 'spark_tbl'
as_SparkDataFrame(x, ...)
## S3 method for class 'jobj'
as_SparkDataFrame(x, ...)
|
x |
a |
... |
additional arguments passed on to methods, currently unused |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
spark_session()
df <- spark_tbl(iris)
as_SparkDataFrame(df)
df_jobj <- attr(df, "jc")
as_SparkDataFrame(df_jobj)
spark_session_stop()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.