WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.
Skip to end of metadata
Go to start of metadata

Configuring R in Linux Environment

Follow steps below to configure R.

  1. Install R. For more information see The R Project for Statistical Computing.

    This guide uses R version 3.2.2.

  2. You can verify whether the R installation is successful by typing command "R" in a new terminal. Upon successful installation you will get a log as shown below.
  3. Install JRI. For more information see Java/R Interface Documentation.
  4. Set path accordingly for $R_HOME and $JRI_HOME 

    Eg: $R_HOME=/usr/lib/R
        $JRI_HOME=<Root folder>/R/x86_64-pc-linux-gnu-library/3.2/rJava/jri
  5. Add a symbolic link which acts as a pointer to link file in rJava/jri/  to the installation path of R

    Eg: ln -s /home/ubuntu/R/x86_64-pc-linux-gnu-library/3.2/rJava/jri/ /usr/lib
  • No labels