To build SparkR on Windows, the following steps are required
- Install R (>= 3.1) and Rtools. Make sure to
include Rtools and R in
PATH
. - Install
JDK7 and set
JAVA_HOME
in the system environment variables. - Download and install Maven. Also include the
bin
directory in Maven inPATH
. - Set
MAVEN_OPTS
as described in Building Spark. - Open a command shell (
cmd
) in the Spark directory and runmvn -DskipTests -Psparkr package