initJVM: Initialize the Java Virtual Machine.

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

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

Usage

1
initJVM(maxHeapSize)

Arguments

maxHeapSize

The maximum Java heap size. Default is "1G" (means 1 gigabytes).

Details

This function initializes the JVM with a parameter of the maximum Java heap size maxHeapSize. The parameter is a string composed of a number and followed by a letter K, or M, or G (K indicates kilobytes, M indicates megabytes, G indicates gigabytes).

Value

TRUE denotes successful initialization, and FALSE indicates failure.

See Also

setOpencl, showOpencl

Examples

1
initJVM("1G")

csclab/RMut documentation built on May 14, 2019, 12:07 p.m.