storeAll: Store all objects out of memory which are larger than a...

Description Usage Arguments Examples

Description

This function stores all objects from the global environment that are larger than the threshold in a cache on disk, i.e. out of memory, by using SOAR::Store() and removing the objects from the global environment. By default the function creates a "SOARcache" directory as a subdirectory of the current working directory to store the objects. Automatically runs garbage collection after storing the objects. Returns the result of the garbage collection.

Usage

1
storeAll(thresh = 50, dir = "SOARcache")

Arguments

thresh

(Megabytes) All objects that are larger than "thresh" will be cached out of memory.

dir

The directory where the cache is created. By default /SOARcache as a subdirectory of the current working directory.

Examples

1
## storeAll()

Thie1e/convenience documentation built on May 9, 2019, 4:40 p.m.