diff options
author | Narine Kokhlikyan <narine.kokhlikyan@gmail.com> | 2015-10-13 10:09:05 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-10-13 10:09:05 -0700 |
commit | 1e0aba90b9e73834af70d196f7f869b062d98d94 (patch) | |
tree | 0913e8561478ec706e06eaa9af5a357c61adb3e1 /R/pkg/NAMESPACE | |
parent | 5e3868ba139f5f0b3a33361c6b884594a3ab6421 (diff) | |
download | spark-1e0aba90b9e73834af70d196f7f869b062d98d94.tar.gz spark-1e0aba90b9e73834af70d196f7f869b062d98d94.tar.bz2 spark-1e0aba90b9e73834af70d196f7f869b062d98d94.zip |
[SPARK-10888] [SPARKR] Added as.DataFrame as a synonym to createDataFrame
as.DataFrame is more a R-style like signature.
Also, I'd like to know if we could make the context, e.g. sqlContext global, so that we do not have to specify it as an argument, when we each time create a dataframe.
Author: Narine Kokhlikyan <narine.kokhlikyan@gmail.com>
Closes #8952 from NarineK/sparkrasDataFrame.
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r-- | R/pkg/NAMESPACE | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE index 95d949ee3e..41986a5e7a 100644 --- a/R/pkg/NAMESPACE +++ b/R/pkg/NAMESPACE @@ -228,7 +228,8 @@ exportMethods("agg") export("sparkRSQL.init", "sparkRHive.init") -export("cacheTable", +export("as.DataFrame", + "cacheTable", "clearCache", "createDataFrame", "createExternalTable", |