Learn R Programming

⚠️There's a newer version (1.0-14) of this package.Take me there.

rJava (version 0.4-9)

Low-level R to Java interface

Description

Low-level interface to Java VM very much like .C/.Call and friends. Allows creation of objects, calling methods and accessing fields.

Copy Link

Version

Install

install.packages('rJava')

Monthly Downloads

85,547

Version

0.4-9

License

GPL version 2

Maintainer

Simon Urbanek

Last Published

January 20th, 2026

Functions in rJava (0.4-9)

jcast

Cast a Java object to another class
jnull

Java null object reference
jcheck

Check JVM for pending expections and clear them
JavaAccess

Field/method operator for Java objects
jnew

Create a Java object
jcall

Call a Java method
jarray

Java array handling functions
jsimplify

Converts Java object to a simple scalar if possible
jfloat-class

Classes "jfloat", "jlong", "jbyte" and "jchar" specify Java native types that are not native in R
show

Show a Java Object Reference
jarrayRef-class

Class "jarrayRef" Reference to an array Java object
jfloat

Wrap numeric vector as flat Java parameter
jequals

Comparing Java References
jreflection

Simple helper functions for Java reflection
jfiled

Obtains the value of a field
jobjRef-class

Class "jobjRef" - Reference to a Java object
jinit

Initialize Java VM
jcastToArray

Ensures that a given object is an array reference