Category Archives: R

Using R with Apache Spark

To use R with Spark we need SparkR package. Below are the steps needed to build, install and use SparkR package in a windows system.

Building SparkR in Windows

  • Make sure that you have installed R (version >3.1) and the path to bin is added in the system PATH variable
    e.g. C:\R\R-3.1.3\bin\x64
  • Download Rtools from below link
    http://cran.r-project.org/bin/windows/Rtools/
  • Select the components to install

Continue reading