5.13.2 R 4.1.2 Installation

Note:

This setup might update some of the older root level files and using Non-Oracle Yum Repository for getting R rpm files.
To install R 4.1.2, follow these steps:
  1. Set Proxy, (pseudo user):
    1. curl- O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    2. yum install epel-release-latest-7.noarch.rpm
    3. curl- O https://cdn.rstudio.com/r/centos-7/pkgs/R-${R_VERSION}-1-1.x86_64.rpm
    4. sudo yum install R-${R_VERSION}-1-1.x86_64.rpm
    5. sudo ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R
  2. Check installation:
    1. R-version
  3. Installing other packages:
    1. R-e "install.packages('Rserve', repos='https://www.rforge.net/')"
    2. R-e "install.packages(c('knitr', 'ggplot2', 'backports'), repos='https://mirror.las.iastate.edu/CRAN/')"