I wish to call my R scripts from WSO2 DAS server. I have written the following code in siddhi query
@Plan:name('MyRPlan')
@Import('MyRStream:1.0.0')
define stream Rin (emplyId int);
@Export('MyRout:1.0.0')
define stream Rout (emplyId int);
from Rin#r:eval('/my/file/path/MyRFun.R', 'emplyId int', emplyId)
select *
insert into Rout;
is my syntax to call a R script correct? If it is can someone please tell me why I get this error Error message in DAS console. I have also downloaded the JRI files at https://rforge.net/JRI/files/ according to the link given by wso2.