简体   繁体   中英

monetdb embedded R

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM