aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorfelixcheung <felixcheung_m@hotmail.com>2015-11-28 21:16:21 -0800
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-11-28 21:16:21 -0800
commitc793d2d9a1ccc203fc103eb0636958fe8d71f471 (patch)
treea031cf5f43c0808478d738a9cde8ba412a9ab758 /R/pkg/NAMESPACE
parent28e46ab46368ea3833c8e805163893bbb6f2a265 (diff)
downloadspark-c793d2d9a1ccc203fc103eb0636958fe8d71f471.tar.gz
spark-c793d2d9a1ccc203fc103eb0636958fe8d71f471.tar.bz2
spark-c793d2d9a1ccc203fc103eb0636958fe8d71f471.zip
[SPARK-9319][SPARKR] Add support for setting column names, types
Add support for for colnames, colnames<-, coltypes<- Also added tests for names, names<- which have no test previously. I merged with PR 8984 (coltypes). Clicked the wrong thing, crewed up the PR. Recreated it here. Was #9218 shivaram sun-rui Author: felixcheung <felixcheung_m@hotmail.com> Closes #9654 from felixcheung/colnamescoltypes.
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r--R/pkg/NAMESPACE6
1 files changed, 5 insertions, 1 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index 5d04dd6aca..43e5e0119e 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -27,7 +27,10 @@ exportMethods("arrange",
"attach",
"cache",
"collect",
+ "colnames",
+ "colnames<-",
"coltypes",
+ "coltypes<-",
"columns",
"count",
"cov",
@@ -56,6 +59,7 @@ exportMethods("arrange",
"mutate",
"na.omit",
"names",
+ "names<-",
"ncol",
"nrow",
"orderBy",
@@ -276,4 +280,4 @@ export("structField",
"structType",
"structType.jobj",
"structType.structField",
- "print.structType") \ No newline at end of file
+ "print.structType")