Liking cljdoc? Tell your friends :D

R backends

Here is a partial list of possible ways to use R from the JVM.

  • JNI-based, single-session JRI

  • socket-based, multi-session Rserve; as mentioned above, more robust thanks to us of R in a separate process (or processes); the cost of perfomance vs JNI seems not too painful in typical use cases

  • REngine - a common abstration on the JVM side, that supports both JRI and Rserve

    • used in both Rincanter and Rojure
  • http-based, multi session, secure, slow-for-large-datasets Opencpu

  • shelling out - running a new R process every time

  • pure-JVM, multi-session Renjin

  • a wrapper of several, such as Rsession

  • GraalVM-based FastR

  • possibly, a new JNA-based solution (along the lines of Libpython-clj)

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close