Skip to content

Instantly share code, notes, and snippets.

@dhaeb dhaeb/init-spark.R
Created Oct 26, 2015

Embed
What would you like to do?
Load SparkR in normal R interpreter. Assumes that SparkR is globally installed.
library(SparkR)
sc <- sparkR.init(sparkPackages = "com.databricks:spark-csv_2.10:1.2.0")
sqlContext <- sparkRSQL.init(sc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.