3.1.7 R Interpreter

The R interpreter allows execution of R code within Compliance Studio interactive notebooks and pipelines, supporting exploratory analytics, reproducible research, and statistical computing, while integrating seamlessly with big data tools to provide an interactive environment for advanced analytics.

You can configure the R Interpreter support either with ORD-3.6.1 or R 4.1.2.

ORD-3.6.1 Installation

To install ORD-3.6.1, follow the steps:
  1. Check Linux version. For example, cat /etc/os-release

    You can install R interpreter based on the following Linux version.

    1. To install Oracle R Distribution on Linux 7, see Using Yum.
    2. To install Oracle R Distribution on Linux 8, see Using Yum or Dnf.
  2. In the terminal, check installation using R -version.
  3. To install other packages, execute the following.
    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/')"

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. In the terminal, execute the following.
    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 using R -version.
  3. To install other packages, execute the following.
    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/')"