cleanup: Cleanup of all cached data from SSA objects

View source: R/ssa.R

cleanupR Documentation

Cleanup of all cached data from SSA objects

Description

Function to copy SSA objects

Usage

cleanup(x)

Arguments

x

object to be cleaned

Details

For the sake of memory efficiency SSA objects hold references to the data, not the data itself. That is why they can hold huge amount of data and passing them by value is still cheap.

Also, SSA routines tend to save some intermediate information which can be used later inside SSA object. This includes (but not limited to) elementary series, etc.

cleanup call deletes all pre-cached stuff freeing memory necessary for calculations.


Rssa documentation built on Sept. 11, 2024, 7:20 p.m.