Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

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