SJava: The Omegahat interface for R and Java

An interface from R to Java to create and call Java objects and methods.

AuthorDuncan Temple Lang, John Chambers
Date of publicationNone
MaintainerMartin Morgan <martin.morgan@roswellpark.org>
LicenseGPL (>= 2)
Version0.98.0

View on Bioconductor

Man pages

Array: Create and access elements of Java arrays from R.

convertFromJava: Convert Java instance to R instances and vice versa

defaultJavaPath: Obtain the Java path or other variable Sys.getenv

Dollar: Accessing Java classes, methods and field

DotjavaConfig: The default options for initializing the Java Virtual Machine

DotJavaSigs: A vector of Java type specifiers

expandClassName: The fully qualified name of a Java class

foreignReference: Create a reference to an R object for use by a foreing...

getForeignReferences: Get the names of the objects in the Omegahat system

getJavaConverterDescriptions: Retrieves descriptions for the registered converters between...

getJavaHandler: Obtains the current R foreign reference manager

getMethods: List the methods or constructors of a Java object.

getNumJavaConverters: Returns the number of converters registered between R and...

interfaceGenerator: Generates a template "closure" to represent a Java...

isJavaInitialized: Determines whether the JVM has been created.

Java: Invokes a Java method

javaConfig: Returns a configuration object for initializing the Java...

JavaConfiguration-class: Class "JavaConfiguration"

JavaConstructor: Create a Java object

javaHandlerGenerator: Manages exporting of R objects to Java/Omegahat and calls...

JavaInit: Initialize or terminate the Java Virtual Machine

javaIs: Performs class comparisons for Java objects

javaMatchFunctions: Symbolic constants for how classes are matched in conversion

javaSig: Converts an R type name to a Java type

JavaTerminate: Terminates the Java Virtual Machine

JClass: Returns a reference to a Java class.

jdynamicCompile: Dynamically Compile a Java Class

mergePath: Merges classpath specifications

mergeProperties: Creates the union of two named character vectors, converting...

OmegahatExpression: Execute an Omegahat/Java expression

omegahatReference: Creates a local object representing a Java reference

removeJavaConverter: Removes a converter for R and Java objects in the R-Java...

RSJava.symbol: Expands a name to a C routine name in this package.

RtoJavaSig: Returns the Java type identifier for an R object

setConvertible: Register a Java class as being convertible to an R object

setJavaConverter: Add a converter from Java to an R object

setJavaFunctionConverter: Registers a function to convert between R and Java objects

setJavaHandler: Register a handler for exporting R objects to foreign...

SJava-internal: Functions for internal or illustrative use by SJava

Functions

collapse Man page
collapse,JavaConfiguration-method Man page
conditionCall.JavaException Man page
conditionMessage.JavaException Man page
convertArrayFromJava Man page
convertListToJava Man page
convertNamedListToJava Man page
convertOrderedTableFromJava Man page
convertVectorFromJava Man page
createListener Man page
defaultJavaPath Man page
expandClassName Man page
foreignReference Man page
getForeignReferences Man page
getJavaConstructors Man page
getJavaConverterDescriptions Man page
getJavaHandler Man page
getJavaMethods Man page
getLastJavaException Man page
getNumJavaConverters Man page
interfaceGenerator Man page
isJavaInitialized Man page
.Java Man page
.JavaArrayConstructor Man page
.JavaArrayLength Man page
[<-.JavaArrayReference Man page
[.JavaArrayReference Man page
javaConfig Man page
.javaConfig Man page
JavaConfiguration Man page
JavaConfiguration-class Man page
.JavaConstructor Man page
.JavaGetArrayElement Man page
javaHandlerGenerator Man page
.JavaInit Man page
javaIs Man page
.javaMatchFunctions Man page
.JavaSetArrayElement Man page
javaSig Man page
.JavaSigs Man page
.JavaTerminate Man page
.JClass Man page
jdynamicCompile Man page
.JNew Man page
length.JavaArrayReference Man page
merge,JavaConfiguration,JavaConfiguration-method Man page
mergePath Man page
mergeProperties Man page
.OmegahatExpression Man page
omegahatReference Man page
[[<-.OmegahatReference Man page
[[.OmegahatReference Man page
$.OmegahatReference Man page
print.OmegahatReference Man page
removeJavaConverter Man page
removeJavaConverter.FromJavaConverter Man page
.RSJava.symbol Man page
RtoJavaSig Man page
setDefaultConverters Man page
setJavaConverter Man page
setJavaConvertible Man page
setJavaFunctionConverter Man page
setJavaHandler Man page
simplifyListToVector Man page

Files

SJava/.BBSoptions
SJava/Changes.html
SJava/DESCRIPTION
SJava/FAQ.html
SJava/Makevars.in
SJava/NAMESPACE
SJava/R
SJava/R/Array.R
SJava/R/Config.S
SJava/R/Convert.R
SJava/R/JavaInit.S
SJava/R/R.S
SJava/R/References.R
SJava/R/createListener.S
SJava/R/exception.S
SJava/R/expandClassName.R
SJava/R/foreignReference.R
SJava/R/getJavaMethods.R
SJava/R/interfaceGenerator.R
SJava/R/isJavaInitialized.R
SJava/R/javaConfig.R
SJava/R/javaHandler.R
SJava/R/javaIs.R
SJava/R/jdynamicCompile.R
SJava/R/listConversion.S
SJava/R/methods.R
SJava/R/omegahatReference.R
SJava/R/setJavaHandler.R
SJava/R/zzz.R
SJava/README
SJava/cleanup.in
SJava/configure
SJava/configure.in
SJava/configure.win
SJava/inst
SJava/inst/Docs
SJava/inst/Docs/CRoutines.pdf
SJava/inst/Docs/Examples.pdf
SJava/inst/Docs/FAQ.html
SJava/inst/Docs/Features.pdf
SJava/inst/Docs/Howto.pdf
SJava/inst/Docs/RFromJava.pdf
SJava/inst/Docs/TkJava.pdf
SJava/inst/NEWS
SJava/inst/examples
SJava/inst/examples-extended
SJava/inst/examples-extended/GNUmakefile
SJava/inst/examples-extended/JavaBooleans.class
SJava/inst/examples-extended/JavaBooleans.java
SJava/inst/examples-extended/JavaBooleans.jweb
SJava/inst/examples-extended/JavaRCall.class
SJava/inst/examples-extended/JavaRCall.java
SJava/inst/examples-extended/JavaRCall.jweb
SJava/inst/examples-extended/JavaRPlot.class
SJava/inst/examples-extended/JavaRPlot.java
SJava/inst/examples-extended/JavaRPlot.jweb
SJava/inst/examples-extended/JavaRPrompt.class
SJava/inst/examples-extended/JavaRPrompt.java
SJava/inst/examples-extended/JavaRPrompt.jweb
SJava/inst/examples-extended/SLinearModelFit.class
SJava/inst/examples-extended/SLinearModelFit.java
SJava/inst/examples-extended/TestDataFrame.java
SJava/inst/examples-extended/TestExceptions.class
SJava/inst/examples-extended/TestExceptions.jweb
SJava/inst/examples-extended/TestNull.class
SJava/inst/examples-extended/TestNull.java
SJava/inst/examples-extended/TestNull.jweb
SJava/inst/examples-extended/arrays.java
SJava/inst/examples-extended/lmConvert.R
SJava/inst/examples-extended/lmTest.class
SJava/inst/examples-extended/lmTest.java
SJava/inst/examples-extended/mean.java
SJava/inst/examples/DynamicButtonCallback.R
SJava/inst/examples/DynamicCompile.R
SJava/inst/examples/ListConverterTest.java
SJava/inst/examples/MyHashtable.class
SJava/inst/examples/MyHashtable.java
SJava/inst/examples/OmegaDispatch.java
SJava/inst/examples/README
SJava/inst/examples/Rerror.java
SJava/inst/examples/Rnorm.java
SJava/inst/examples/Set.R
SJava/inst/examples/SimpleInterface.class
SJava/inst/examples/SimpleInterface.java
SJava/inst/examples/StatData.R
SJava/inst/examples/Test.R
SJava/inst/examples/Test.java
SJava/inst/examples/TestSimpleInterface.class
SJava/inst/examples/TestSimpleInterface.java
SJava/inst/examples/TestTypes.R
SJava/inst/examples/TestTypes.class
SJava/inst/examples/TestTypes.java
SJava/inst/examples/button.R
SJava/inst/examples/buttonCallback.R
SJava/inst/examples/calc.R
SJava/inst/examples/converters.R
SJava/inst/examples/dataFrameReferenceView.R
SJava/inst/examples/dataFrameTest.class
SJava/inst/examples/dataFrameTest.java
SJava/inst/examples/dataFrameView.R
SJava/inst/examples/file.choose.R
SJava/inst/examples/funcConverter.S
SJava/inst/examples/functionConverters.R
SJava/inst/examples/getClass.R
SJava/inst/examples/index.html
SJava/inst/examples/jtest.R
SJava/inst/examples/listConverters.S
SJava/inst/examples/mouseMotion.R
SJava/inst/examples/otto.java
SJava/inst/examples/routine.S
SJava/inst/examples/s4Conversion.R
SJava/inst/examples/simpleInterface.R
SJava/inst/examples/synchronize.S
SJava/inst/examples/tdist.R
SJava/inst/examples/testLists.S
SJava/inst/examples/testScript.R
SJava/inst/examples/ttest.R
SJava/inst/include
SJava/inst/include/RSCommon.h
SJava/inst/org
SJava/inst/org/omegahat
SJava/inst/org/omegahat/Interfaces
SJava/inst/org/omegahat/Interfaces/NativeInterface
SJava/inst/org/omegahat/Interfaces/NativeInterface/AnonymousReference.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/AnonymousReference.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/BasicConvertibleClassifier.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/BasicConvertibleClassifier.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/ConvertibleClassifier.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/ConvertibleClassifier.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/ConvertibleClassifierInt.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/ConvertibleClassifierInt.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReference.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReference.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReferenceClassGenerator.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReferenceClassGenerator.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReferenceInt.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/ForeignReferenceInt.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/InterfaceDatabase.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/InterfaceDatabase.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/InterfaceReference.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/InterfaceReference.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/MetaForeignReference.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/MetaForeignReference.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/NamedReference.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/NamedReference.java
SJava/inst/org/omegahat/Interfaces/NativeInterface/OmegaInterfaceManager.class
SJava/inst/org/omegahat/Interfaces/NativeInterface/OmegaInterfaceManager.java
SJava/inst/org/omegahat/Jars
SJava/inst/org/omegahat/Jars/Environment.jar
SJava/inst/org/omegahat/Jars/ROmegahatExamples.jar
SJava/inst/org/omegahat/Jars/antlr.jar
SJava/inst/org/omegahat/Jars/jas.jar
SJava/inst/org/omegahat/Jars/jhall.jar
SJava/inst/org/omegahat/R
SJava/inst/org/omegahat/R/Java
SJava/inst/org/omegahat/R/Java/MissingMethodException.class
SJava/inst/org/omegahat/R/Java/MissingMethodException.java
SJava/inst/org/omegahat/R/Java/REvaluator.class
SJava/inst/org/omegahat/R/Java/REvaluator.java
SJava/inst/org/omegahat/R/Java/RException.class
SJava/inst/org/omegahat/R/Java/RException.java
SJava/inst/org/omegahat/R/Java/RForeignReference.class
SJava/inst/org/omegahat/R/Java/RForeignReference.java
SJava/inst/org/omegahat/R/Java/RJavaInstance.class
SJava/inst/org/omegahat/R/Java/RJavaInstance.java
SJava/inst/org/omegahat/R/Java/RManualFunctionActionListener.class
SJava/inst/org/omegahat/R/Java/RManualFunctionActionListener.java
SJava/inst/org/omegahat/R/Java/ROmegahatInterpreter.class
SJava/inst/org/omegahat/R/Java/ROmegahatInterpreter.java
SJava/inst/org/omegahat/R/Java/RSplash.class
SJava/inst/org/omegahat/R/Java/RSplash.java
SJava/inst/scripts
SJava/inst/scripts/RJava.bsh.in
SJava/inst/scripts/RJava.csh.in
SJava/inst/scripts/RJava.in
SJava/inst/scripts/callR.win
SJava/inst/scripts/getJavaHome.win.R
SJava/man
SJava/man/Array.Rd SJava/man/Dollar.Rd SJava/man/DotJavaSigs.Rd SJava/man/DotjavaConfig.Rd SJava/man/JClass.Rd SJava/man/Java.Rd SJava/man/JavaConfiguration-class.Rd SJava/man/JavaConstructor.Rd SJava/man/JavaInit.Rd SJava/man/JavaTerminate.Rd SJava/man/OmegahatExpression.Rd SJava/man/RSJava.symbol.Rd SJava/man/RtoJavaSig.Rd SJava/man/SJava-internal.Rd SJava/man/convertFromJava.Rd SJava/man/defaultJavaPath.Rd SJava/man/expandClassName.Rd SJava/man/foreignReference.Rd SJava/man/getForeignReferences.Rd SJava/man/getJavaConverterDescriptions.Rd SJava/man/getJavaHandler.Rd SJava/man/getMethods.Rd SJava/man/getNumJavaConverters.Rd SJava/man/interfaceGenerator.Rd SJava/man/isJavaInitialized.Rd SJava/man/javaConfig.Rd SJava/man/javaHandlerGenerator.Rd SJava/man/javaIs.Rd SJava/man/javaMatchFunctions.Rd SJava/man/javaSig.Rd SJava/man/jdynamicCompile.Rd SJava/man/mergePath.Rd SJava/man/mergeProperties.Rd SJava/man/omegahatReference.Rd SJava/man/removeJavaConverter.Rd SJava/man/setConvertible.Rd SJava/man/setJavaConverter.Rd SJava/man/setJavaFunctionConverter.Rd SJava/man/setJavaHandler.Rd
SJava/src
SJava/src/ConverterExamples.c
SJava/src/ConverterExamples.h
SJava/src/Converters.c
SJava/src/Converters.h
SJava/src/Makevars.in
SJava/src/Makevars.win.in
SJava/src/REmbed.c
SJava/src/REmbedWin.c
SJava/src/REval.c
SJava/src/RFunctionListener.c
SJava/src/RFunctionListener.h
SJava/src/RReferenceCall.c
SJava/src/RReferenceCall.h
SJava/src/RSJava
SJava/src/RSJava/CtoJava.c
SJava/src/RSJava/CtoJava.h
SJava/src/RSJava/ErrorHandling.c
SJava/src/RSJava/ErrorHandling.h
SJava/src/RSJava/JNIUtils.c
SJava/src/RSJava/JNIUtils.h
SJava/src/RSJava/Makefile.in
SJava/src/RSJava/Makefile.win
SJava/src/RSJava/ManagerInterfaceUtils.c
SJava/src/RSJava/ManagerInterfaceUtils.h
SJava/src/RSJava/References.c
SJava/src/RSJava/References.h
SJava/src/RStoJava.c
SJava/src/RStoJava.h
SJava/src/Reflectance.c
SJava/src/Reflectance.h
SJava/src/RtoJava.c
SJava/src/RtoJava.h
SJava/vendor.class

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.