Re: SparkR sqlContext or sc not found in RStudio

2015-07-21 Thread harirajaram
Yep,I saw that in your previous post and I thought it was a typing mistake that you did while posting,I never imagined that it was done on R studio.Glad it worked. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SparkR-sqlContext-or-sc-not-found-in-RStudio-t

Re: SparkR sqlContext or sc not found in RStudio

2015-07-21 Thread harirajaram
I'm sorry, I have no idea why it is failing on your side.I have been using this for a while now and it works fine.All I can say is use version 1.4.0 but I don't think so it is going to make a big difference.This is the one which I use,a/b are my directories. Sys.setenv(SPARK_HOME="/a/b/spark-1.4.0

Re: SparkR sqlContext or sc not found in RStudio

2015-07-21 Thread unk1102
Hi thanks for the reply. I did download from github build it and it is working fine I can use spark-submit etc when I use it in RStudio I dont know why it is saying sqlContext not found When I do the following > sqlContext < sparkRSQL.init(sc) Error: object sqlContext not found if I do the follo

Re: SparkR sqlContext or sc not found in RStudio

2015-07-21 Thread harirajaram
I'm assuming you are building sparkR from github for apache/spark and not github of amplab. If that is correct,I don't see you intializing sqlcontext like this sqlContext <- sparkRSQL.init(sc).. If you have done both, then I don't have an idea as it is working fine for me. -- View this message i