Skip to content
/ CEP_R Public

R Integration for WSO2 Complex Event Processor (CEP) using jri

Notifications You must be signed in to change notification settings

Sanka-R/CEP_R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEP_R

R Integration for WSO2 Complex Event Processor (CEP) using jri

Instruction for setting up R and rJava on Ubuntu

1. Add the following line to /etc/apt/source.list where ${version} should be trusty or precise or utopic or lucid according to your Ubuntu release
`deb https://cran.rstudio.com/bin/linux/ubuntu ${version}/` 2. Authenticate
`sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9` 3. Update
`sudo apt-get update` 4. Install R
`sudo apt-get install r-base-dev r-cran-rjava`

Instruction for setting up the project

  1. Set R_HOME
    (eg: export R_HOME = /usr/lib/R)
  2. Set JRI_HOME
    (eg: export JRI_HOME = /usr/lib/R/site-library/rJava)
  3. Copy JRI.jar, JRIEngine.jar, REngine.jar files to
    {CEP_HOME}/repository/components/lib
  4. Include the following line in the wso2server.sh file in {CEP_HOME}/bin in the last do-while loop
    -Djava.library.path=$JRI_HOME
  5. Use maven clean install

About

R Integration for WSO2 Complex Event Processor (CEP) using jri

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages