Apama 10.7.2 | Developing Apama Applications | Developing Apama Applications in EPL | Using EPL Plug-ins | Using the R plug-in | Adding the R Support bundle to your project
 
Adding the R Support bundle to your project
To use the R plug-in, you need only add the R Support EPL bundle to your project. For details, see Adding EPL bundles to projects or Creating and managing an Apama project from the command line.
Adding the R Support bundle to your project makes the RPlugin.mon file available to the monitors in your project. When you run your project, Software AG Designer automatically injects the RPlugin.mon file. If you want to examine this file, you can find it in the monitors/R directory of your Apama installation.
The file RPlugin.mon is the interface between the monitors in your application and the R plug-in. Your application creates an RConnection event using the static open() action in the RFactory event, and it then calls set() or evaluate() actions on the RConnection event to communicate with R. There is never any need to import or call the plug-in directly.