Building SparkR on Windows

To build SparkR on Windows, the following steps are required

  1. Install R (>= 3.1) and Rtools. Make sure to include Rtools and R in PATH.
  2. Install JDK7 and set JAVA_HOME in the system environment variables.
  3. Download and install Maven. Also include the bin directory in Maven in PATH.
  4. Set MAVEN_OPTS as described in Building Spark.
  5. Open a command shell (cmd) in the Spark directory and run mvn -DskipTests -Psparkr package