Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuring R in Linux Environment

...

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

    Info

    This guide uses R version 3.2.2.

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

    Code Block
    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 libjri.so file in rJava/jri/libjri.so  to the installation path of R

    Code Block
    Eg: ln -s /home/ubuntu/R/x86_64-pc-linux-gnu-library/3.2/rJava/jri/libjri.so /usr/lib