inst/roxygen-examples/current_heap_gb-example.R

# Returns an integer number of gigabytes on the heap (rough calculation)
# Requires rjava to be initialized
if (verify_tetrad()$installed && verify_tetrad()$java_ok) {
  current_heap_gb()
}

Try the causalDisco package in your browser

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

causalDisco documentation built on April 13, 2026, 5:06 p.m.