Description Usage Arguments Value Author(s) References See Also Examples
This integrates user arguments with default values to create an object containing the information to parameterize the Java Virtual Machine's and the Omegahat session's initial environments. The object includes a classpath specification, system properties for the JVM that can also be read by the Omegahat system to govern how its elements are instantiated and also a library path for loading shared libraries as JNI code for Java classes.
1 2 3 4 | javaConfig(classPath=character(0), properties=character(0),
libraryPath=character(0), options=character(0),
default=if (exists(".javaConfig")) .javaConfig
else JavaConfiguration())
|
classPath |
a character vector identifying locations of Java
classes in the form of URLs, Jar files or simple directories. This
is passed to the JVM as the argument to |
properties |
a named character vector of system properties that
are passed to the JVM initialization as |
libraryPath |
a character vector identifying directories which
are to be used by Java when loading shared libraries/DLLs via
|
options |
a character vector of strings that are passed as is to
the initialization of the virtual machine. These are basically
non-property command line arguments that one can pass when starting
the Java virtual machine in the usual way (e.g. calling the java
executable). These include arguments such as |
default |
a list containing the default values for each of the 3 fields/groups of parameters to which are added the user-specified values in the corresponding earlier arguments. |
A list that can be used to customize the initialization of the Java Virtual Machine embedded within the R session.
classPath |
a character vector whose elements are sources of Java
class files. These can be directories, URLs or Jar files (or any
other form understood by the JVM). This is collapsed and specified
as the value of the |
properties |
a named character vector whose values correspond to
|
libraryPath |
a character vector whose elements specify
directories which are searched by the JVM when loading native code
for a Java class via the |
John Chambers, Duncan Temple Lang
http://www.omegahat.org/RSJava
.JavaInit
mergePath
mergeProperties
.javaConfig
1 2 3 4 | javaConfig()
javaConfig(classPath=c("/home/duncan/Java", "/home/duncan/xml.jar",
paste(system.file("org","omegahat","Jars"),
"DataStructures.jar",sep="/")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.