Skip to content

Instantly share code, notes, and snippets.

@retrography
Created August 5, 2015 17:33
Show Gist options
  • Select an option

  • Save retrography/133383f8a7325ed928c0 to your computer and use it in GitHub Desktop.

Select an option

Save retrography/133383f8a7325ed928c0 to your computer and use it in GitHub Desktop.
Install RHadoop
install.packages(c('RCurl','rJava','RJSONIO', 'itertools', 'digest','Rcpp','httr','functional','devtools','plyr','reshape2','R.methodsS3','hydroPSO','pryr',"bitops","functional","reshape2","stringr","caTools"))
Sys.setenv(HADOOP_CMD="/usr/bin/hadoop")
Sys.setenv(HADOOP_STREAMING="/usr/hdp/2.2.0.0-2041/hadoop-mapreduce/hadoop-streaming.jar")
library("devtools")
install_github("RevolutionAnalytics/rmr2/pkg")
install_github("RevolutionAnalytics/rhdfs/pkg")
install_github("RevolutionAnalytics/plyrmr/pkg")
install_github("RevolutionAnalytics/ravro/pkg/ravro")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment