sparkRSQL.init {SparkR} | R Documentation |
This function creates a SparkContext from an existing JavaSparkContext and then uses it to initialize a new SQLContext
sparkRSQL.init(jsc = NULL)
jsc |
The existing JavaSparkContext created with SparkR.init() |
Starting SparkR 2.0, a SparkSession is initialized and returned instead. This API is deprecated and kept for backward compatibility only.
sparkRSQL.init since 1.4.0
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
## End(Not run)