clean: Remove Objects from Memory

View source: R/functions.R

cleanR Documentation

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 garbage collection repetitions; by default n = 2.

Examples

## Run to clean the environment
clean()
clean(n=2)

MoTBFs documentation built on April 18, 2022, 5:06 p.m.

Related to clean in MoTBFs...