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
I had a similar issue. In my case the problem was with the hyphen ('-').
by changing the code :
sc <- sparkR.init(master = "local[*]",sparkPackages = c("com.databricks:spark-csv_2.11-1.4.0"))
to:
sc <- sparkR.init(master = "local[*]",sparkPackages = c("com.databricks:spark-csv_2.11:1.4.0"))
worked for me. Do you notice the change?
P.S.: Do copy the jar in your SPARK_HOME\lib folder
Edit 1: Also, check that you have configured your "HADOOP_HOME"
Hope this helps.