Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (50.2k points)

I installed using common steps

Installed R, and Hadoop in ubuntu.

Add these three lines in ~/ .bashrc file. 

Installed R packages by using this command

install.packages(c("rJava", "RJSONIO", "rmr", "rhdfs", "rhbase", "plyrmr").

got the following error:

packages ‘rmr’, ‘rJava‘, ‘RJSONIO‘, ‘rhdfs’ are not available (for R version 3.1.3)

1 Answer

0 votes
by (108k points)

I would recommend you to follow https://github.com/RevolutionAnalytics/rhadoop/wiki/Installing-RHadoop-on-RHEL to install RHadoop.

One more important thing is to go through the description file and install all the dependencies mentioned over there.

Installing RHadoop



Package - Where to Install

plyrmr - On every node in the cluster

ravro - Only on the node that runs the R client

rhbase - Only on the node that runs the R client

rhdfs - Only on the node which runs the R client

rmr2 - On every node in the cluster

Installing rmr2

 

  • Download rmr2 from here.
  • Download the R packages dependencies for rmr2. Check the DESCRIPTION file for the most up-to-date list of dependencies.
  • Install rmr2 and its dependent R packages.
  • Update the environment variables needed by rmr2.


This is a common step for installing all the r package.

Browse Categories

...