clean_gc | R Documentation |
Cleans the memory by using gc()
numerous times.
clean_gc(num_gc = 100, threshold = 0.01, verbose = FALSE)
num_gc |
a numeric that indicates the maximum number of iterations. |
threshold |
a numeric with the percentage difference. If the change in memory size falls below the threshold, the function stops. |
verbose |
a boolean. If |
The function calls gc()
until the difference in
memory size falls below the threshold
.
Jakob Gepp
clean_gc(verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.