Skip to content

Instantly share code, notes, and snippets.

@chanwit
Created August 8, 2015 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chanwit/bc1892dfac86911cb233 to your computer and use it in GitHub Desktop.
Save chanwit/bc1892dfac86911cb233 to your computer and use it in GitHub Desktop.
Sys.setenv(SPARK_HOME="c:/spark")
SPARK_HOME <- Sys.getenv("SPARK_HOME")
SPARKR_LIB <- file.path(SPARK_HOME, "R", "lib")
.libPaths(c(SPARKR_LIB, .libPaths()))
library(SparkR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment