Apama 10.15.0 | Developing Apama Applications | Developing Apama Applications in EPL | Using EPL Plug-ins | Using the R plug-in | R plug-in samples
 
R plug-in samples
Sample code for using the R plug-in is provided in the samples/epl/RPlugin directory of your Apama installation. See the README.txt file in that directory for more information.
*The file RPluginSample.mon demonstrates how to set and get variables of different types from R, how to create a matrix using an R script and get the dimensions, and how to load an R script from an external file.
*The file AsyncR.mon demonstrates an asynchronous R service running in a dedicated context where requests and responses are sent via events.