[MonetDB.R] Fwd: Call functions using MonetDB.R

Hannes Mühleisen Hannes.Muehleisen at cwi.nl
Tue Jun 16 09:02:58 CEST 2015


Sorry, forgot to CC list. It will be fixed.

> Begin forwarded message:
> 
> From: Hannes Mühleisen <hannes.muehleisen at cwi.nl>
> Subject: Re: [MonetDB.R] Call functions using MonetDB.R
> Date: 16 Jun 2015 08:06:14 CEST
> To: Роман Кисленок <kislenok.roman at gmail.com>
> 
> Hi Roman,
> 
>> On 16.06.2015, at 07:11, Роман Кисленок <kislenok.roman at gmail.com> wrote:
>> 
>> Is there a way to call MonetDB functions using MonetDB.R?
>> I want to execute this SQL:
>> call sys.reuse('sys', 'my_way_too_large_table');
>> 
>> When I try to:
>> dbSendUpdate(conn, "call sys.reuse('sys', 'my_way_too_large_table')")
>> I get an error:
>> Exception in .mapiParseResponse(mresp) : 
>>  Invalid response from server. Try re-connecting.
>> 
>> In mapi.R we have:
>> if (length(lines) < 1) {
>>  stop("Invalid response from server. Try re-connecting.")
>> }
>> But this "call" does not provide any output. May be there is some additional function that violates response parse?
> 
> 
> Correct, this fails at the moment. You can ignore the error though by wrapping the call in tryCatch. Will fix this in the next version. Thanks for reporting!
> 
> Best,
> 
> Hannes
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4154 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/monetr-users/attachments/20150616/42967ff3/attachment.bin>


More information about the Monetr-users mailing list