Save(ASOR)R Documentation

Move objects out of memory into storage out of memory as save files

Description

Stores copies of objects in memory (or visible on search path) as save files in a directory. Usually (but nor necessarily) the copy in memory is removed. The object is still visible as a delayedAssign object and automatically re-enters memory as needed by loading.

Usage

Save(..., lib = ".R_Store", lib.loc = getwd(), remove = TRUE)

Arguments

... objects to be saved either as names or as character strings.
lib Name of directory to hold out of memory object files
lib.loc full path name to directory holding lib as a character string
remove Is the object to be removed from central memory? TRUE if so, else FALSE and the object remains in memory as well as in out of memory storage.

Details

A convenient front end to save and delayedAssign. Will attach the directory onto the search path if not already thee, and create the directory if not already in existence.

Value

Used only for side effects.

Note

SaveData and SaveUtils differ only in the default values of their lib and lib.loc arguments and would normally be used for central storage of data and function objects respectively.

The Store forms are completely equivalent to their Save counterparts and are included for convenience only.

Author(s)

~~who you are~~

References

~put references to the literature/web site here ~

See Also

delayedAssign, save, attach, remove, rm

Examples

Alpha <- 1
Beta <- 2
Save(Alpha, Beta)  # creates and attaces directory as needed
Save(objects(all = TRUE), remove = FALSE)  # move copies to out of memory storage.

[Package ASOR version 0.1 Index]