Skip to content

Instantly share code, notes, and snippets.

@codingneo
Last active December 10, 2015 15:18
Show Gist options
  • Save codingneo/b15b8ce6bd84d4292c82 to your computer and use it in GitHub Desktop.
Save codingneo/b15b8ce6bd84d4292c82 to your computer and use it in GitHub Desktop.
SparkR Tutorial

Installation

You can install SparkR from github directly.

if (!require('devtools')) install.packages('devtools')
devtools::install_github('apache/[email protected]', subdir='R/pkg')

You should choose tag (v1.4.0 above) corresponding to the version of Spark you use. You can find a full list of tags on the project page or directly from R using GitHub API:

jsonlite::fromJSON("https://api.github.com/repos/apache/spark/tags")$name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment