R/gc.R

Defines functions .jgc

Documented in .jgc

.jgc <- function(R.gc=TRUE, ...) {
     if (R.gc) gc(...)
     .jcall(.jcall("java.lang.Runtime","Ljava/lang/Runtime;","getRuntime"), "V", "gc")
}

Try the rJava package in your browser

Any scripts or data that you put into this service are public.

rJava documentation built on May 29, 2024, 5:26 a.m.