Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

jgc

Invoke Java Garbage Collection


Description

.jgc invokes the R and Java garbage collectors.

Usage

.jgc(R.gc = TRUE, ...)

Arguments

R.gc

logical, if TRUE then gc(...) is called first, if FALSE only Java garbage collector is called

...

any additional parameters passed to gc()

Details

.jgc invokes the R garbage collector (unless R.gc=FALSE) which removes any unused Java references and then invokes the Java garbage collector to reclaim Java heap space.

Author(s)

Simon Urbanek


rJava

Low-Level R to Java Interface

v1.0-4
LGPL-2.1
Authors
Simon Urbanek <simon.urbanek@r-project.org>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.