Installing plyrmr
The plyrmr
package provides common operations (as found in plyr
or reshape2
) for users to easily perform data manipulation through the MapReduce framework. In this recipe, we will introduce how to install plyrmr
on the Hadoop system.
Getting ready
Ensure that you have completed the previous recipe by starting the Cloudera QuickStart VM and connecting the VM to the Internet. Also, you need to have the rmr2
package installed beforehand.
How to do it...
Perform the following steps to install plyrmr
on the Hadoop system:
- First, you should install
libxml2-devel
andcurl-devel
in the Linux shell:$ yum install libxml2-devel $ sudo yum install curl-devel
- You can then access R and install the dependent packages:
$ sudo R > Install.packages(c(" ...
Get R: Recipes for Analysis, Visualization and Machine Learning now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.