monetdb embedded R

320 views Asked by At

I am trying to use the embedded R feature in Windows 7. I start the server with

mserver5 --set embedded_r=true

I do not see the message # MonetDB/R module loaded though.

Then I wanted to test the example rapi00 provided here:

CREATE FUNCTION rapi00() RETURNS TABLE (d INTEGER) LANGUAGE R {
    seq(1,10);
};

runs well. However, when I execute

SELECT d FROM rapi00() AS r WHERE d > 5;

I get the following error message

TypeException:user.s10_1[2]:'rapi.eval' undefined in: _4:bat[:oid,:int] := rapi.
eval(_5:ptr, _6:str)
program contains errors

I wonder if the this feature is implemented at all in Windows (it runs well in mac os). Can someone please help?

1

There are 1 answers

2
Hannes Mühleisen On BEST ANSWER

Embedded R for MonetDB is not available on Windows. I do not plan to ever make it available there. In my opinion, running a MonetDB server on Windows does not make too much sense because of performance limitations on that platform.

What we do have for Windows now is MonetDBLite for R, where we run MonetDB inside R.