I tried the following mentioned by Jinith:
How to install RHadoop packages (Rmr, Rhdfs, Rhbase)?
But I got this exception:
"Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2’ (as ‘lib’ is unspecified) Warning: invalid package ‘/home/user/Downloads/rmr2_3.3.2.tar.gz’ Error: ERROR: no packages specified Warning in install.packages : installation of package ‘/home/user/Downloads/rmr2_3.3.2.tar.gz’ had non-zero exit status"
I have no idea what should I do... :(