Can anyone help me out to install the following packages R-MR R-HDFS and R-HBase on R-HAdoop

0 votes

My goal is to integrate R-Programming Language and I tried my best to do so. But every time I receive the following error.

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

These are Steps I followed, Kindly let me know if it is correct or I must try a different way out.

  • Installed R, and Hadoop in ubuntu.
  • Add these three lines in ~/.bashrc file.
           *export HADOOP_PREFIX=/Users/hadoop/hadoop-1.1.2

            export HADOOP_CMD=/Users/hadoop/hadoop-1.1.2/bin/hadoop

            export HADOOP_STREAMING=/Users/hadoop/hadoop-1.1.2/contrib/streaming/hadoop-streaming-1.1.2.jar*
  • Installed R packages by using this command
            install.packages(c("rJava", "RJSONIO", "rmr", "rhdfs", "rhbase", "plyrmr").

But I Received the above error. What is the main problem of integrating R and Hadoop? 

I used the information from this site to integrate

May 31, 2019 in Big Data Hadoop by nitinrawat895
• 11,380 points
484 views

1 answer to this question.

0 votes

I have understood your problem, I will redirect you to a site, from where you can download the packages for:

  • R-HDFS
  • R-HBase
  • R-MR-2
  • Ply-R-MR
I have also dropped down the installation steps for all the above packages as follows:
# install.packages("<path>/rhdfs_1.0.8.tar.gz", repos=NULL, type="source")
# install.packages("<path>/rmr2_2.2.2.tar.gz", repos=NULL, type="source")
# install.packages("<path>plyrmr_0.2.0.tar.gz", repos=NULL, type="source")
# install.packages("<path>/rhbase_1.2.0.tar.gz", repos=NULL, type="source")

I hope this will fix your issue. Have a great day.

answered May 31, 2019 by ravikiran
• 4,620 points

Related Questions In Big Data Hadoop

+1 vote
3 answers

when i tried to run the hdfs namenode -format command...its failed to run..can anyone help me with this???

Hi Suriyaprakash, I guess the path for hadoop ...READ MORE

answered Jul 23, 2018 in Big Data Hadoop by avi_man_utd
11,334 views
+1 vote
1 answer

Explain to me the difference between HBase and HDFS

Let's start from scratch. Hadoop basically consists of three ...READ MORE

answered Mar 19, 2019 in Big Data Hadoop by nitinrawat895
• 11,380 points
765 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,523 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,166 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
103,819 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,234 views
0 votes
1 answer

Explain to me the difference between HBase and HDFS.

Hadoop generally consists of three major components: HDFS It ...READ MORE

answered Apr 12, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
1,738 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP