I know there are many R users who like to test out SparkR without all the configuration hassle. Just these six lines and you can start SparkR from both RStudio and command line.
One line for Spark and SparkR
Apache Spark is a fast and general-purpose cluster computing system
SparkR is an R package that provides a light-weight frontend to use Apache Spark from R
Six lines to start SparkR
The first three lines should be called in your command line.
You can already start SparkR shell by typing this in your command line;
If you like to call it from RStudio, execute the rest in R
Now this should run in your RStudio
The full codes are available from here.
comments powered by