After long and difficult installation process of SparkR i getting into new problems of launching SparkR.
My Settings
R 3.2.0 RStudio 0.98.1103 Rt
The following solution will work for Mac OS.
After installing Hadoop followed by Spark.
spark_path <- strsplit(system("brew info apache-spark",intern=T)[4],' ')[[1]][1] # Get your spark path .libPaths(c(file.path(spark_path,"libexec", "R", "lib"), .libPaths())) library(SparkR