loopback queries in embedded R
Hello, A few months ago I was told that loopback queries for embedded R were not ready yet, but would be after some time. Is the feature ready? If so, how does it work? (I am familiar with loopback queries with embedded python) I am currently using the development default branch, compiled a couple of weeks ago. Thank you, Stefano
Hey Stefano, Yes, they have been implemented in both the default branch and the released Jun2016. Below is a small example from one of our test cases. CREATE TABLE rapi20dummy (i INTEGER); INSERT INTO rapi20dummy VALUES (42), (84); CREATE FUNCTION rapi20() RETURNS TABLE(i INTEGER) LANGUAGE R { loopback_query("SELECT * FROM rapi20dummy")$i }; SELECT * FROM rapi20(); Regards, Mark
On 05 Sep 2016, at 15:30, Stefano Fioravanzo
wrote: Hello,
A few months ago I was told that loopback queries for embedded R were not ready yet, but would be after some time. Is the feature ready? If so, how does it work? (I am familiar with loopback queries with embedded python)
I am currently using the development default branch, compiled a couple of weeks ago.
Thank you,
Stefano _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Thanks, great!
On 05 Sep 2016, at 16:10, Mark Raasveldt
wrote: Hey Stefano,
Yes, they have been implemented in both the default branch and the released Jun2016. Below is a small example from one of our test cases.
CREATE TABLE rapi20dummy (i INTEGER); INSERT INTO rapi20dummy VALUES (42), (84);
CREATE FUNCTION rapi20() RETURNS TABLE(i INTEGER) LANGUAGE R { loopback_query("SELECT * FROM rapi20dummy")$i };
SELECT * FROM rapi20();
Regards,
Mark
On 05 Sep 2016, at 15:30, Stefano Fioravanzo
wrote: Hello,
A few months ago I was told that loopback queries for embedded R were not ready yet, but would be after some time. Is the feature ready? If so, how does it work? (I am familiar with loopback queries with embedded python)
I am currently using the development default branch, compiled a couple of weeks ago.
Thank you,
Stefano _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (2)
-
Mark Raasveldt
-
Stefano Fioravanzo