com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Installing R to work with WSO2 CEP

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 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
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.