When I started Rserve from RStudio and try to connect to Rserve using RSclient, as in the code below:
#Loading Libraries library(Rserve) library(RSclient)
Everything is working fine.
But if I try to start Rserve from the command line (simulating what Java does). As a code:
#loading Rserve from command line, to simulate what java does. #Using Mac OS 10.10.2 /Library/Frameworks/R.framework/Resources/bin/R CMD /Library/Frameworks/R.framework/Versions/3.2/Resources/library/Rserve/libs
I get this error in RStudio:
rsc_abort: connection closed by peer Error in RS.eval(conn, library(openNLP)) : read error - could not obtain response header
And this error on the command line:
Invalid memory access of location 0x110 rip=0x7fff8ea0d5d2
Here and here are similar problems. My initial problem was RJDBC , not openNLP , and it seems that both have rJava . I used openNLP here because it is easy to simulate without having to connect to the database. Any clue on how to solve this?
source share