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 in Big Data Hadoop by nitinrawat895
• 10,490 points
24 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 by ravikiran
• 4,200 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
430 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 in Big Data Hadoop by nitinrawat895
• 10,490 points
59 views
0 votes
1 answer

Explain to me the method to transfer data between Azure tables and Hadoop on Azure

this article on HiveStorageHandler will let you create ...READ MORE

answered May 2 in Big Data Hadoop by ravikiran
• 4,200 points
29 views
0 votes
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
• 10,490 points
2,380 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
• 10,490 points
242 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
12,144 views
0 votes
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,240 points
893 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 in Big Data Hadoop by ravikiran
• 4,200 points
131 views