cleanup: Clean up the global environment to reduce memory use

Description Usage Arguments Author(s)

Description

The function shows total memory use and lists all objects with a size larger than a threshold, giving the user the option to delete each one.

Usage

1
cleanup(protect, threshold = 1)

Arguments

protect

Vector of object names that user is not allowed to delete

threshold

Objects with size below threshold are not offered for deletion. Megabytes. Defaults to 1.

Author(s)

Lauri Myllyvirta lauri.myllyvirta@greenpeace.org


laurimyllyvirta/lauR documentation built on April 28, 2021, 6:26 p.m.