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
. - Get SparkR source code either using
git
or by downloading a source zip from github. - Open a command shell (
cmd
) in the SparkR directory and runinstall-dev.bat