Error: long vectors not supported yet: qap_encode.c:36
Closed this issue · 8 comments
This seems to be a bug in Rserve 1.7-3 with R 3.5.
See: https://github.com/s-u/Rserve/search?q=long+vector&type=Issues
Is there some way to upgrade rserve?
The problem for me is that any eval call results in a "write failed" exception due to the underlying rserve connection being closed. The log shows the error in the title: Error: long vectors not supported yet: qap_encode.c:36
So using rserve backend is not operational with R 3.5.
This issue is also mentioned in the news for rserve 1.8-6: https://github.com/s-u/Rserve/blob/master/NEWS
Rserve 1.8-6 seems to be available here: https://www.rforge.net/Rserve/files/
I installed 1.8-6 myself using install.packages("Rserve",,"http://rforge.net")
but the error still occurs.
Nevermind. The lib.loc start parameter was causing rsession to use 1.7-3 which it installed itself.
Indeed, the standard 1.8-6 (available on parent github from Simon Urbanek) fixes the issue. I just backported it on 1.7 branch here (named arbitrary 1.7-5), because I needed to have it working on Windows / R 3.5 (which is one purpose of this repository).
Regards.
Ah, ok so this will be fixed in 2.0.5 (which is not yet in maven repo), I was trying 2.0.4 and that still installed rserve 1.7-3.
Now in 3.0
Also, you can find my fork of rserve 1.7 (just including this dix) here
https://github.com/yannrichet/Rserve-1.7/releases