Hi,

 

We are having issues when executing embedded R in a MonetDB SQL function.  We have compiled and configured MonetDB accordingly, so as to be able to run embedded R; however, the simple example in the documentation fails to execute.

 

This is the function we have:

 

create function rapi00()

returns table( d int ) language R

{

                                return seq(1,10);

};

 

Having just “seq(1,10)” doesn’t make any difference either.  When this function gets created, we don’t get any error; however, when we do the following:

 

select d from rapi00() as r where d > 5;

 

we get the this error:

 

Query failed:

TypeException:user.s6_3[3]:'rapi.eval' undefined in: X_4:bat[:int] := rapi.eval(7fdb9830e210:ptr,"{\n\treturn seq(1,10);\n};":str);

 

We don’t know how to tackle this issue.  We have followed the process from https://www.monetdb.org/content/embedded-r-monetdb.  Do you have any suggestion to make this work?

 

Thanks!

 

Luis Ángel.

The information transmitted, including any attachments, is intended only for the individual or entity to which it is addressed, and may contain confidential and/or privileged information. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by individuals or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you have received this communication in error, please delete the information from any computer and notify the sender.