Learn R Programming

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

rJava (version 0.5-0)

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.5-0

License

GPL version 2

Maintainer

Simon Urbanek

Last Published

January 20th, 2026

Functions in rJava (0.5-0)

jcheck

Java exception handling
jfloat-class

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

Comparing Java References
jcast

Cast a Java object to another class
show

Show a Java Object Reference
loader

Java class loader
jcastToArray

Ensures that a given object is an array reference
jengine

Java callback engineCast a Java object to another class
jcall

Call a Java method
jsimplify

Converts Java object to a simple scalar if possible
jnew

Create a Java object
JavaAccess

Field/method operator for Java objects
jobjRef-class

Class "jobjRef" - Reference to a Java object
jpackage

Initialize an R package containing Java code
jnull

Java null object reference
jmemprof

rJava memory profiler
jarray

Java array handling functions
jreflection

Simple helper functions for Java reflection
jinit

Initialize Java VM
jfield

Obtains the value of a field
jarrayRef-class

Class "jarrayRef" Reference to an array Java object
jfloat

Wrap numeric vector as flat Java parameter