aboutsummaryrefslogtreecommitdiff
path: root/R/pkg
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-05-06 17:28:11 -0700
committerReynold Xin <rxin@databricks.com>2015-05-06 17:28:11 -0700
commit4e930420c19ae7773b138dfc7db8fc03b4660251 (patch)
tree7086ab6c3c0dc1599834aab82a863d050ebca0a0 /R/pkg
parentfbf1f342a02af65f69e0ee770a2b983c69e7c089 (diff)
downloadspark-4e930420c19ae7773b138dfc7db8fc03b4660251.tar.gz
spark-4e930420c19ae7773b138dfc7db8fc03b4660251.tar.bz2
spark-4e930420c19ae7773b138dfc7db8fc03b4660251.zip
[SPARK-6799] [SPARKR] Remove SparkR RDD examples, add dataframe examples
This PR also makes some of the DataFrame to RDD methods private as the RDD class is private in 1.4 cc rxin pwendell Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu> Closes #5949 from shivaram/sparkr-examples and squashes the following commits: 6c42fdc [Shivaram Venkataraman] Remove SparkR RDD examples, add dataframe examples
Diffstat (limited to 'R/pkg')
-rw-r--r--R/pkg/NAMESPACE4
-rw-r--r--R/pkg/R/DataFrame.R2
2 files changed, 1 insertions, 5 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index 528e6608c3..3fb92be094 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -45,8 +45,6 @@ exportMethods("cache",
"showDF",
"sortDF",
"take",
- "toJSON",
- "toRDD",
"unionAll",
"unpersist",
"where",
@@ -95,14 +93,12 @@ export("cacheTable",
"createExternalTable",
"dropTempTable",
"jsonFile",
- "jsonRDD",
"loadDF",
"parquetFile",
"sql",
"table",
"tableNames",
"tables",
- "toDF",
"uncacheTable")
export("sparkRSQL.init",
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R
index 56c305d912..47d92f141c 100644
--- a/R/pkg/R/DataFrame.R
+++ b/R/pkg/R/DataFrame.R
@@ -272,7 +272,7 @@ setMethod("names",
setMethod("registerTempTable",
signature(x = "DataFrame", tableName = "character"),
function(x, tableName) {
- callJMethod(x@sdf, "registerTempTable", tableName)
+ invisible(callJMethod(x@sdf, "registerTempTable", tableName))
})
#' insertInto