i

R Programming Complete Tutorial

Environment setup for RHADOOP

An environment setting is an essential task before executing any code. We use different libraries in our R code, so we have to set our environment based on those libraries. Generally, in our RHADOOP operations, we use the library (rmr2) and library (rhdfs). In the rmr2 library, we use Java, Hadoop streaming, and in rhdfs, we use Hadoop HDFS, so we have to set the environmental variable for Java and Hadoop.

1. Java Setup:

2. Hadoop setup: