MoTBFs (version 1.2)

clean: Remove Objects from Memory

Description

Clean the memory. Delete all the objects in memory and a garbage collection takes place.

Usage

clean(envir = globalenv(), n = 2)

Arguments

envir

The currently active environment; by default It is the gloval environment.

n

Number of repetitions to do the garbage collection; by default n = 2.

Examples

Run this code
# NOT RUN {
## Run to clean the environment
clean()
clean(n=2)
# }

Run the code above in your browser using DataLab