rJava: Low-Level R to Java Interface

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

Install the latest version of this package by entering the following in R:
install.packages("rJava")
AuthorSimon Urbanek <simon.urbanek@r-project.org>
Date of publication2016-01-07 15:09:40
MaintainerSimon Urbanek <simon.urbanek@r-project.org>
LicenseGPL-2
Version0.9-8
http://www.rforge.net/rJava/

View on CRAN

Man pages

accessOp: Field/method operator for Java objects

aslist: Converts java objects or arrays to R lists

clone: Object cloner

Exceptions: Exception handling

instanceof: Is a java object an instance of a given java class

J: High level API for accessing Java

jarray: Java array handling functions

jarrayRef-class: Class "jarrayRef" Reference to an array Java object

javaImport: Attach mechanism for java packages

java-tools: java tools used internally in rJava

jcall: Call a Java method

jcast: Cast a Java object to another class

jcastToArray: Ensures that a given object is an array reference

jcheck: Java exception handling

jclassName: Class "jclassName" - a representation of a Java class name

jengine: Java callback engineCast a Java object to another class

jequals: Comparing Java References

jfield: Obtains the value of a field

jfloat: Wrap numeric vector as flat Java parameter

jfloat-class: Classes "jfloat", "jlong", "jbyte" and "jchar" specify Java...

jinit: Initialize Java VM

jmemprof: rJava memory profiler

jnew: Create a Java object

jnull: Java null object reference

jobjRef-class: Class "jobjRef" - Reference to a Java object

jpackage: Initialize an R package containing Java code

jrectRef-class: Rectangular java arrays

jreflection: Simple helper functions for Java reflection

jserialize: Java object serialization

jsimplify: Converts Java object to a simple scalar if possible

loader: Java class loader

new: Create a new Java object

rep: Creates java arrays by cloning

show: Show a Java Object Reference

toJava: Convert R objects to REXP references in Java

with: with and within methods for Java objects and class names

Functions

anyDuplicated,jarrayRef-method Man page
anyDuplicated,jrectRef-method Man page
<=,ANY,jobjRef-method Man page
<,ANY,jobjRef-method Man page
==,ANY,jobjRef-method Man page
>=,ANY,jobjRef-method Man page
>,ANY,jobjRef-method Man page
!=,ANY,jobjRef-method Man page
as.character,jclassName-method Man page
as.list.jarrayRef Man page
as.list.jobjRef Man page
as.list.jrectRef Man page
clone Man page
clone,jarrayRef-method Man page
clone,jobjRef-method Man page
clone,jrectRef-method Man page
dim<-,jrectRef-method Man page
dim,jrectRef-method Man page
.DollarNames.jarrayRef Man page
.DollarNames.jclassName Man page
.DollarNames.jobjRef Man page
.DollarNames.jrectRef Man page
duplicated,jarrayRef-method Man page
duplicated,jrectRef-method Man page
Exceptions Man page
head,jarrayRef-method Man page
\%instanceof\% Man page
is.jnull Man page
J Man page
.jaddClassPath Man page
.jarray Man page
jarrayRef-class Man page
[,jarrayRef-method Man page
[[<-,jarrayRef-method Man page
[[,jarrayRef-method Man page
javaImport Man page
java-tools Man page
jbyte Man page
.jbyte Man page
jbyte-class Man page
.jcache Man page
.jcall Man page
.jcast Man page
.jcastToArray Man page
jchar Man page
.jchar Man page
jchar-class Man page
.jcheck Man page
jclassName-class Man page
$<-,jclassName-method Man page
$,jclassName-method Man page
.jclassPath Man page
.jclear Man page
.jcompare Man page
.jconstructors Man page
.jengine Man page
.jequals Man page
.jevalArray Man page
.jfield Man page
.jfield<- Man page
.jfields Man page
jfloat Man page
.jfloat Man page
jfloat-class Man page
.jgetEx Man page
.jinit Man page
.jinstanceof Man page
jlong Man page
.jlong Man page
jlong-class Man page
.jmemprof Man page
.jmethods Man page
.jnew Man page
.jnull Man page
<=,jobjRef,ANY-method Man page
<,jobjRef,ANY-method Man page
==,jobjRef,ANY-method Man page
>=,jobjRef,ANY-method Man page
>,jobjRef,ANY-method Man page
!=,jobjRef,ANY-method Man page
jobjRef-class Man page
<=,jobjRef,jobjRef-method Man page
<,jobjRef,jobjRef-method Man page
==,jobjRef,jobjRef-method Man page
>=,jobjRef,jobjRef-method Man page
>,jobjRef,jobjRef-method Man page
!=,jobjRef,jobjRef-method Man page
$<-,jobjRef-method Man page
$,jobjRef-method Man page
.jpackage Man page
jrectRef-class Man page
[,jrectRef-method Man page
.jserialize Man page
jshort Man page
.jshort Man page
.jsimplify Man page
.jthrow Man page
.junserialize Man page
length,jarrayRef-method Man page
length,jrectRef-method Man page
max,jarrayRef-method Man page
max,jrectRef-method Man page
min,jarrayRef-method Man page
min,jrectRef-method Man page
names,jarrayRef-method Man page
names,jclassName-method Man page
names,jobjRef-method Man page
names,jrectRef-method Man page
new,jclassName-method Man page
range,jarrayRef-method Man page
range,jrectRef-method Man page
rep,jarrayRef-method Man page
rep,jobjRef-method Man page
rep,jrectRef-method Man page
rev,jarrayRef-method Man page
rev,jrectRef-method Man page
show,jarrayRef-method Man page
show,jclassName-method Man page
show,jobjRef-method Man page
sort,jarrayRef-method Man page
sort,jrectRef-method Man page
str,jarrayRef-method Man page
str,jobjRef-method Man page
str,jrectRef-method Man page
tail,jarrayRef-method Man page
$<-.Throwable Man page
$.Throwable Man page
toJava Man page
unique,jarrayRef-method Man page
unique,jrectRef-method Man page
within.jarrayRef Man page
within.jclassName Man page
within.jobjRef Man page
with.jarrayRef Man page
with.jclassName Man page
with.jobjRef Man page

Files

inst
inst/java
inst/java/FlatException.class
inst/java/RJavaTools_Test$TestException.class
inst/java/ObjectArrayException.java
inst/java/RJavaTools.java
inst/java/FlatException.java
inst/java/ArrayDimensionException.class
inst/java/RJavaComparator.java
inst/java/RJavaArrayTools_Test.class
inst/java/NotAnArrayException.java
inst/java/RectangularArrayBuilder_Test.class
inst/java/RJavaTools_Test.java
inst/java/RectangularArraySummary.java
inst/java/RJavaImport.java
inst/java/RJavaArrayIterator.java
inst/java/TestException.java
inst/java/RJavaArrayIterator.class
inst/java/RJavaTools_Test$ExampleClass.class
inst/java/RectangularArrayBuilder.class
inst/java/RJavaArrayTools.java
inst/java/ArrayWrapper.java
inst/java/ArrayWrapper_Test.java
inst/java/RJavaTools.class
inst/java/RectangularArrayBuilder_Test.java
inst/java/TestException.class
inst/java/ArrayWrapper_Test.class
inst/java/RJavaTools_Test$DummyNonStaticClass.class
inst/java/RJavaArrayTools_Test.java
inst/java/RJavaArrayTools$ArrayDimensionMismatchException.class
inst/java/PrimitiveArrayException.class
inst/java/ArrayDimensionException.java
inst/java/NotComparableException.class
inst/java/NotComparableException.java
inst/java/RJavaArrayTools.class
inst/java/DummyPoint.class
inst/java/ObjectArrayException.class
inst/java/DummyPoint.java
inst/java/RectangularArrayExamples.java
inst/java/RJavaComparator.class
inst/java/boot
inst/java/boot/RJavaClassLoader.class
inst/java/boot/RJavaClassLoader$UnixDirectory.class
inst/java/boot/RJavaClassLoader$UnixFile.class
inst/java/boot/RJavaClassLoader$UnixJarFile.class
inst/java/boot/RJavaClassLoader$RJavaObjectInputStream.class
inst/java/boot/RJavaClassLoader.java
inst/java/RectangularArrayExamples.class
inst/java/RJavaImport.class
inst/java/RectangularArraySummary.class
inst/java/RectangularArrayBuilder.java
inst/java/RJavaTools_Test.class
inst/java/PrimitiveArrayException.java
inst/java/NotAnArrayException.class
inst/java/ArrayWrapper.class
inst/jri
inst/jri/REngine.jar
inst/jri/JRIEngine.jar
inst/javadoc
inst/javadoc/ArrayWrapper_Test.html
inst/javadoc/RJavaArrayTools.html
inst/javadoc/ArrayWrapper.html
inst/javadoc/package-summary.html
inst/javadoc/help-doc.html
inst/javadoc/index.html
inst/javadoc/RectangularArrayBuilder_Test.html
inst/javadoc/TestException.html
inst/javadoc/ArrayDimensionException.html
inst/javadoc/RJavaTools_Test.DummyNonStaticClass.html
inst/javadoc/serialized-form.html
inst/javadoc/RectangularArraySummary.html
inst/javadoc/RJavaImport.html
inst/javadoc/stylesheet.css
inst/javadoc/ObjectArrayException.html
inst/javadoc/package-list
inst/javadoc/overview-tree.html
inst/javadoc/FlatException.html
inst/javadoc/deprecated-list.html
inst/javadoc/RJavaTools.html
inst/javadoc/RJavaArrayIterator.html
inst/javadoc/constant-values.html
inst/javadoc/resources
inst/javadoc/resources/background.gif
inst/javadoc/resources/titlebar.gif
inst/javadoc/resources/tab.gif
inst/javadoc/resources/titlebar_end.gif
inst/javadoc/package-tree.html
inst/javadoc/RJavaArrayTools.ArrayDimensionMismatchException.html
inst/javadoc/package-frame.html
inst/javadoc/PrimitiveArrayException.html
inst/javadoc/DummyPoint.html
inst/javadoc/RJavaArrayTools_Test.html
inst/javadoc/NotComparableException.html
inst/javadoc/index-all.html
inst/javadoc/NotAnArrayException.html
inst/javadoc/RJavaTools_Test.html
inst/javadoc/RectangularArrayExamples.html
inst/javadoc/allclasses-noframe.html
inst/javadoc/RJavaComparator.html
inst/javadoc/RJavaTools_Test.TestException.html
inst/javadoc/allclasses-frame.html
inst/javadoc/RJavaClassLoader.html
inst/javadoc/RectangularArrayBuilder.html
configure.ac
getsp.java
src
src/arrayc.c
src/Rglue.c
src/jvm-w32
src/jvm-w32/Makefile
src/jvm-w32/jvm.def
src/jvm-w32/config.h
src/jvm-w32/findjava.c
src/jvm-w32/jvm64.def
src/jvm-w32/WinRegistry.c
src/fields.c
src/config.h.in
src/install.libs.R
src/jri_glue.c
src/loader.c
src/rJava.h
src/java
src/java/FlatException.class
src/java/Makefile
src/java/RJavaTools_Test$TestException.class
src/java/ObjectArrayException.java
src/java/RJavaClassLoader.class
src/java/RJavaTools.java
src/java/FlatException.java
src/java/RJavaClassLoader$UnixDirectory.class
src/java/ArrayDimensionException.class
src/java/RJavaComparator.java
src/java/RJavaArrayTools_Test.class
src/java/NotAnArrayException.java
src/java/RectangularArrayBuilder_Test.class
src/java/RJavaTools_Test.java
src/java/RectangularArraySummary.java
src/java/RJavaImport.java
src/java/RJavaArrayIterator.java
src/java/TestException.java
src/java/RJavaArrayIterator.class
src/java/RJavaTools_Test$ExampleClass.class
src/java/RectangularArrayBuilder.class
src/java/RJavaArrayTools.java
src/java/ArrayWrapper.java
src/java/ArrayWrapper_Test.java
src/java/RJavaTools.class
src/java/RectangularArrayBuilder_Test.java
src/java/TestException.class
src/java/RJavaClassLoader$UnixFile.class
src/java/ArrayWrapper_Test.class
src/java/RJavaTools_Test$DummyNonStaticClass.class
src/java/RJavaClassLoader$UnixJarFile.class
src/java/RJavaArrayTools_Test.java
src/java/RJavaArrayTools$ArrayDimensionMismatchException.class
src/java/RJavaClassLoader$RJavaObjectInputStream.class
src/java/PrimitiveArrayException.class
src/java/ArrayDimensionException.java
src/java/NotComparableException.class
src/java/NotComparableException.java
src/java/RJavaArrayTools.class
src/java/DummyPoint.class
src/java/ObjectArrayException.class
src/java/DummyPoint.java
src/java/RectangularArrayExamples.java
src/java/RJavaComparator.class
src/java/RJavaClassLoader.java
src/java/RectangularArrayExamples.class
src/java/RJavaImport.class
src/java/RectangularArraySummary.class
src/java/RectangularArrayBuilder.java
src/java/RJavaTools_Test.class
src/java/PrimitiveArrayException.java
src/java/NotAnArrayException.class
src/java/ArrayWrapper.class
src/otables.c
src/Makevars.in
src/tools.c
src/callback.c
src/callJNI.c
src/Makevars.win
src/init.c
src/callback.h
src/rJava.c
NAMESPACE
getsp.class
install-sh
version
NEWS
R
R/memprof.R R/jri.R R/reflection.R
R/zzz.R.in
R/comparison.R R/completion.R R/arrays.R R/methods.R
R/windows
R/windows/FirstLib.R R/options.R R/exceptions.R R/import.R R/0classes.R R/tools.R R/serialize.R R/rep.R R/converter.R R/with.R R/loader.R R/jfirst.R R/J.R R/instanceof.R R/call.R R/jinit.R
MD5
DESCRIPTION
jri
jri/Mutex.java
jri/RBool.java
jri/examples
jri/examples/rtest.java
jri/examples/rtest2.java
jri/configure.ac
jri/run.in
jri/src
jri/src/jri.h
jri/src/Rengine.c
jri/src/win32
jri/src/win32/Makefile
jri/src/win32/jvm.def
jri/src/win32/findjava.c
jri/src/win32/jvm64.def
jri/src/h2ic
jri/src/config.h.in
jri/src/Rcallbacks.h
jri/src/Makefile.in
jri/src/Makefile.all
jri/src/Makefile.win
jri/src/Rdecl.h
jri/src/globals.c
jri/src/Rinit.h
jri/src/Rcallbacks.c
jri/src/rjava.h
jri/src/jri.c
jri/src/globals.h
jri/src/Rinit.c
jri/src/rjava.c
jri/RConsoleOutputStream.java
jri/Rengine.java
jri/version
jri/Makefile.in
jri/NEWS
jri/Makefile.all
jri/LGPL.txt
jri/Makefile.win
jri/README
jri/REXP.java
jri/RVector.java
jri/bootstrap
jri/bootstrap/Makefile
jri/bootstrap/JRIBootstrap.h
jri/bootstrap/JRIBootstrap.c
jri/bootstrap/mft
jri/bootstrap/JRIBootstrap.java
jri/bootstrap/DelegatedClassLoader.java
jri/bootstrap/DelegatedURLClassLoader.java
jri/bootstrap/Boot.java
jri/bootstrap/JRIClassLoader.java
jri/configure
jri/configure.win
jri/RList.java
jri/tools
jri/tools/getsp.java
jri/tools/getsp.class
jri/tools/install-sh
jri/tools/mkinstalldirs
jri/tools/config.guess
jri/tools/config.sub
jri/RFactor.java
jri/Makevars.win
jri/RMainLoopCallbacks.java
jri/LICENSE
jri/package-info.java
jri/REngine
jri/REngine/REngineCallbacks.java
jri/REngine/REngineStdOutput.java
jri/REngine/Makefile
jri/REngine/REXPGenericVector.java
jri/REngine/REXPJavaReference.java
jri/REngine/REXPInteger.java
jri/REngine/REXPExpressionVector.java
jri/REngine/REXPVector.java
jri/REngine/JRI
jri/REngine/JRI/Makefile
jri/REngine/JRI/JRIEngine.java
jri/REngine/JRI/test
jri/REngine/JRI/test/Makefile
jri/REngine/JRI/test/RTest.java
jri/REngine/JRI/package-info.java
jri/REngine/REngineEvalException.java
jri/REngine/REngineConsoleHistoryInterface.java
jri/REngine/REngine.java
jri/REngine/REXP.java
jri/REngine/REXPLogical.java
jri/REngine/REngineOutputInterface.java
jri/REngine/REXPFactor.java
jri/REngine/pom.xml
jri/REngine/REXPSymbol.java
jri/REngine/REXPRaw.java
jri/REngine/REXPWrapper.java
jri/REngine/REXPLanguage.java
jri/REngine/REXPEnvironment.java
jri/REngine/REXPNull.java
jri/REngine/REXPReference.java
jri/REngine/REXPList.java
jri/REngine/REXPString.java
jri/REngine/mkmvn.sh
jri/REngine/RList.java
jri/REngine/RFactor.java
jri/REngine/REXPDouble.java
jri/REngine/LICENSE
jri/REngine/MutableREXP.java
jri/REngine/Rserve
jri/REngine/Rserve/Makefile
jri/REngine/Rserve/src
jri/REngine/Rserve/src/test
jri/REngine/Rserve/src/test/java
jri/REngine/Rserve/src/test/java/org
jri/REngine/Rserve/src/test/java/org/rosuda
jri/REngine/Rserve/src/test/java/org/rosuda/rserve
jri/REngine/Rserve/src/test/java/org/rosuda/rserve/RserveTest.java
jri/REngine/Rserve/RConnection.java
jri/REngine/Rserve/protocol
jri/REngine/Rserve/protocol/RTalk.java
jri/REngine/Rserve/protocol/RPacket.java
jri/REngine/Rserve/protocol/jcrypt.java
jri/REngine/Rserve/protocol/REXPFactory.java
jri/REngine/Rserve/RSession.java
jri/REngine/Rserve/RFileOutputStream.java
jri/REngine/Rserve/pom.xml
jri/REngine/Rserve/StartRserve.java
jri/REngine/Rserve/RserveException.java
jri/REngine/Rserve/mkmvn.sh
jri/REngine/Rserve/test
jri/REngine/Rserve/test/Makefile
jri/REngine/Rserve/test/test.java
jri/REngine/Rserve/test/StartRserve.java
jri/REngine/Rserve/test/jt.java
jri/REngine/Rserve/test/PlotDemo.java
jri/REngine/Rserve/RFileInputStream.java
jri/REngine/Rserve/package-info.java
jri/REngine/REngineInputInterface.java
jri/REngine/REngineException.java
jri/REngine/REXPS4.java
jri/REngine/REXPMismatchException.java
jri/REngine/REngineUIInterface.java
jri/REngine/REXPUnknown.java
jri/REngine/package-info.java
configure
man
man/jengine.Rd man/loader.Rd man/J.Rd man/show.Rd man/jserialize.Rd man/jrectRef-class.Rd man/jsimplify.Rd man/rep.Rd man/instanceof.Rd man/jclassName.Rd man/jcastToArray.Rd man/jinit.Rd man/new.Rd man/jcheck.Rd man/jobjRef-class.Rd man/jreflection.Rd man/jfloat-class.Rd man/javaImport.Rd man/clone.Rd man/jfloat.Rd man/jequals.Rd man/accessOp.Rd man/Exceptions.Rd man/jfield.Rd man/aslist.Rd man/jpackage.Rd man/with.Rd man/toJava.Rd man/jnull.Rd man/jcast.Rd man/jnew.Rd man/jmemprof.Rd man/jarrayRef-class.Rd man/java-tools.Rd man/jcall.Rd man/jarray.Rd
configure.win

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.