Low-level bridge from R to Java
open sourceLGPL-2.1-onlyfree
rJava is a low-level interface from R to the Java virtual machine over JNI, comparable to R's .C/.Call C interface: R code can create Java objects, call their methods and read their fields. It also ships JRI, the opposite direction, for calling R from Java.
Problems it solves
- call a Java library from R
- use a JAR file in an R script
- embed R in a Java application
Features
- create Java objects from R
- call Java methods and access fields
- JNI-based bridge
- JRI for calling R from Java
Limitations
- Needs a Java JDK installed.1
Alternatives
The same job
These do what rJava does.
- Java Native Access (JNA) Call native shared libraries from Java with plain Java interfaces, no JNI code
