aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorFelix Cheung <felixcheung_m@hotmail.com>2016-09-02 10:12:10 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-09-02 10:12:10 -0700
commit812333e4336113e44d2c9473bcba1cee4a989d2c (patch)
tree9b111f43edad88b891462127553c9ba2208464c0 /R/pkg/NAMESPACE
parentea662286561aa9fe321cb0a0e10cdeaf60440b90 (diff)
downloadspark-812333e4336113e44d2c9473bcba1cee4a989d2c.tar.gz
spark-812333e4336113e44d2c9473bcba1cee4a989d2c.tar.bz2
spark-812333e4336113e44d2c9473bcba1cee4a989d2c.zip
[SPARK-17376][SPARKR] Spark version should be available in R
## What changes were proposed in this pull request? Add sparkR.version() API. ``` > sparkR.version() [1] "2.1.0-SNAPSHOT" ``` ## How was this patch tested? manual, unit tests Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #14935 from felixcheung/rsparksessionversion.
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r--R/pkg/NAMESPACE13
1 files changed, 7 insertions, 6 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index 5e625b2d8d..ce41b512a4 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -15,8 +15,15 @@ export("sparkR.init")
export("sparkR.stop")
export("sparkR.session.stop")
export("sparkR.conf")
+export("sparkR.version")
export("print.jobj")
+export("sparkR.newJObject")
+export("sparkR.callJMethod")
+export("sparkR.callJStatic")
+
+export("install.spark")
+
export("sparkRSQL.init",
"sparkRHive.init")
@@ -363,9 +370,3 @@ S3method(structField, character)
S3method(structField, jobj)
S3method(structType, jobj)
S3method(structType, structField)
-
-export("sparkR.newJObject")
-export("sparkR.callJMethod")
-export("sparkR.callJStatic")
-
-export("install.spark")