spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashishdutt <ashish.du...@gmail.com>
Subject Re: sparkR
Date Mon, 13 Jul 2015 14:15:34 GMT
I had been facing this problem for a long time and this practically forced me
to move to pyspark.
This is what I tried after reading the posts here
> Sys.setenv(SPARK_HOME="C:\\spark-1.4.0")
> .libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
> library("SparkR", lib.loc="C:\\spark-1.4.0\\lib")
> library(SparkR)
> sc=sparkR.init(master="local")

OMFG It works, Bravo... 
Thanks a ton.

Cheers
Ashish



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/sparkR-tp23412p23799.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message