rJava (version 0.3-2)

jinit: Initialize Java VM

Description

.jinit initializes the Java Virtual Machine (JVM). This function must be called before any rJava functions can be used.

Usage

.jinit(classpath = NULL, ..., silent = FALSE)

Arguments

classpath
Any additional classes to include in the Java class paths (i.e. locations of Java classes to use). This path will be prepended to paths specified in the CLASSPATH environment variable.
...
Optional Java initialization parameters (implementation-dependent).
silent
If set to TRUE no warnings are issued.

Value

  • Currently the return value is implementation dependent, mostly just the return code as returned by the low-level JVM function.

Examples

Run this code
.jinit(classpath="myClasses.jar")

Run the code above in your browser using DataCamp Workspace