Description Usage Arguments Details Value Author(s) References See Also Examples
.JavaInit
loads and starts the Java Virtual Machine and the
Omegahat session which brokers requests to Java classes and objects.
The arguments to this function control the initial configuration and
environment of the JVM.
1 2 | .JavaInit(..., config=NULL, default=javaConfig(), verbose=FALSE,
callbackHandler=javaHandlerGenerator())
|
config |
an object containing elements to be used in the
classpath of the new JVM, system properties, and libraryPath
elements for loading code via JNI (from Java). See
|
default |
the default configuration options (classpath,
properties, etc.) that are merged with those from the |
verbose |
logical value indicating whether diagnostic information should be displayed on the screen as the JVM and Omegahat session are initialized. This is for use in debugging failures or anomalies in the startup. |
callbackHandler |
an object (usually a closure) that handles
requests from the Java/Omegahat system for method invocations on R
objects exported to that foreign system. This is usually
|
... |
additional arguments passed to JavaConfiguration to influence settings. |
Creates and starts the JVM and Omegahat session. Also, registers a function or list of functions (closure) to handle callbacks from Java to R objects and functions.
A logical value indicating whether the initialization was successful.
Duncan Temple Lang, John Chambers
http://www.omegahat.org/RSJava
1 2 3 4 | ## Not run:
.JavaInit()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.