Configuring R Interpreter

Make sure to configure the interpreter config and set the correct path for R binary (zeppelin.R.cmd) and the path to Python environment which has the IRkernel installed (zeppelin.python).
In config.sh there is a new parameter:
export R_PYTHON_HOME=##R_PYTHON_HOME##
This is the Python Conda environment path till <PATH TO YOUR CONDA ENV>/bin/python created following steps mentioned in 5.9, which will set the zeppelin.python property in mmg-studio/server/builtin/interpreters/r.json file.
The other property mentioned for R binary (zeppelin.R.cmd) is also set in above path the default value is R so make sure that the user starting the services has access to R and alias is set or change the property according to the path of R binary.

Note:

Steps to enable TLS during R Interpreter Installation

Steps to enable TLS during R Interpreter Installation:

  1. Download Rserve_1.8-10.tar.gz from this link: https://cran.r-project.org/src/contrib/Archive/Rserve/
  2. Install openssl-devel - [yum install openssl-devel]
  3. Execute below cmd:

    R CMD INSTALL --configure-args="--with-ssl-headers=/usr/include --with-ssl-libraries=/usr/lib64" Rserve_1.8-10.tar.gz

The below steps can be executed from R session to check that Rserve configuration is working before starting the services:

Start R from Terminal/Putty and execute the below commands:
  • library(Rserve)
  • Rserve(args="--RS-conf <Rserve.conf file location including file name> --no-save")