Learn R Programming

timsr (version 0.0.3)

cleanMem: Clean memory.

Description

Run garbage collection, by default - 10 times.

Usage

cleanMem(times = 10)

Arguments

times

Number of times to run garbage collection.

Value

No return value, called for side effects.

Details

Check https://stackoverflow.com/questions/1467201/forcing-garbage-collection-to-run-in-r-with-the-gc-command

Examples

Run this code
# NOT RUN {
cleanMem()
# }

Run the code above in your browser using DataLab