How Do You Install R on a RHEL Instance of AWS?

Problem scenario
You have a RedHat Enterprise version of Linux.  You want to install the R programming language.  What do you do?

1.  Run these six commands:

sudo yum -y install wget
cd /tmp
sudo rpm -ivh epel-release-7-10.noarch.rpm
sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
sudo yum -y install R

2.  This is an optional step to complete these instructions.  Use "man R" (type this command with no quotes) to verify it was installed correctly.

Leave a comment

Your email address will not be published. Required fields are marked *