sparkRSQL.init {SparkR}R Documentation

Initialize a new SQLContext.

Description

This function creates a SparkContext from an existing JavaSparkContext and then uses it to initialize a new SQLContext

Usage

sparkRSQL.init(jsc = NULL)

Arguments

jsc

The existing JavaSparkContext created with SparkR.init()

Examples

## Not run: 
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
## End(Not run)

[Package SparkR version 1.6.3 Index]