Learn R Programming

bartMachine (version 1.3.4.1)

destroy_bart_machine: Destroy BART Model (deprecated --- do not use!)

Description

A deprecated function that previously was responsible for cleaning up the RAM associated with a BART model. This is now handled natively by R's garbage collection.

Usage

destroy_bart_machine(bart_machine)

Value

None.

Arguments

bart_machine

deprecated --- do not use!

Author

Adam Kapelner and Justin Bleich

Details

Removing a ``bart_machine'' object from R previously did not free heap space from Java. Since BART objects can consume a large amount of RAM, it is important to remove these objects by calling this function if they are no longer needed or many BART objects are being created. This operation is now taken care of by R's garbage collection. This function is deprecated and should not be used. However, running it is harmless.

Examples

Run this code
##None

Run the code above in your browser using DataLab