gc: Manual garbage collection

.gcR Documentation

Manual garbage collection

Description

This shouldn't be necessary, since R (usually) handles this correctly and automatically. However, sometimes when working with large geospatial data (e.g., using raster and sp packages) it can help to free recently unallocated memory manually.

Usage

.gc()

Author(s)

Alex Chubaty

See Also

gc()


achubaty/amc documentation built on June 10, 2025, 1:10 p.m.