![]() ![]() ![]() In my case (C:\spark-1.5.1-bin-hadoop2.6\spark-1.5.1-bin-hadoop2.6\bin) and execute "SparkR" Command. If you path is not set correctly you can alternatively navigate to the location where you have downloaded SparkR. If successful you should see message "Spark context is available. Allows writing of Spark DataFrame’s to TFRecord, the recommended format for persisting data to be used in training with TensorFlow. Step 6: Now execute the command > "SparkR" from the command prompt. Step 5: Run command prompt as an administrator. Set path and import SparkR library Initialize the SparkContext Create a SparkR DataFrame using the faithful dataset from R Load JSON data from HDFS Running. I added this to my existing path -> C:\Program Files\R\R-3.2.2\bin\圆4\ (Remember each path that you add must be separated by semicolon and no spaces please) Then add the path of R software path to the PATH variable. Step 3: Set up the environment variables. ![]() Step 2: Unzip the spark zip file anywhere on your machine. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |