Dear all,

As a java developer I prefer to develop rest services using jax-rs.

Now I developed a service that executes Rscript (Using ProcessBuilder),
sends text to stdin of the process and reads from stdout of the
process.

Works fine, but this is inefficient, because every call reloads all
that is needed.

I have looked into this:

https://github.com/microsoft/java-client-library
https://rforge.net/Rserve/
several other sources on stackoverflow etc.

A lot of these sources seem old or not maintained.

Now my question: Is there a preferred and maintained way to efficiently
call R from Java? Preferrably available in maven central?

Regards, Eduard


-- 
Eduard Drenth, Software Architekt

edre...@fryske-akademy.nl

Doelestrjitte 8
8911 DX  Ljouwert
+31 58 234 30 47
+31 62 094 34 28 (privé)

skype: eduarddrenth
https://github.com/eduarddrenth
frisian.eu
gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth


Op freed bin ik thús/wurkje ik minder




Attachment: signature.asc
Description: This is a digitally signed message part

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to