简体   繁体   English

monetdb嵌入式R

[英]monetdb embedded R

I am trying to use the embedded R feature in Windows 7. I start the server with 我试图在Windows 7中使用嵌入式R功能。

mserver5 --set embedded_r=true

I do not see the message # MonetDB/R module loaded though. 我没有看到消息# MonetDB/R module loaded

Then I wanted to test the example rapi00 provided here : 然后,我想测试此处提供的示例rapi00

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). 我想知道此功能是否完全在Windows中实现(它在mac os中运行良好)。 Can someone please help? 有人可以帮忙吗?

Embedded R for MonetDB is not available on Windows. Windows上没有适用于MonetDB的EmbeddedR。 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. 我认为,由于该平台的性能限制,在Windows上运行MonetDB服务器没有太大意义。

What we do have for Windows now is MonetDBLite for R, where we run MonetDB inside R. 对于Windows,我们现在拥有的是R的MonetDBLite,我们在R中运行MonetDB。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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