Package: |
SOAR |
Type: |
Package |
Version: |
0.99-11 |
Date: |
2013-12-12 |
License: |
GPL-2 or GPL-3 |
The function Store
is used to take objects from memory and
store them as .RData
files, usually in a sub-directory of the
current working directory we call a stored object cache. The
directory is automatically created if required. The search path is
augmented to contain an entry that mirrors the stored object cache, in
the sense that if an object in the cache is required in future it is
loaded into memory by the same lazy loading mechanism as is used in
packages. An established stored object cache may be added to, or re-positioned
on, the search path by the function Attach
, and the function
Objects
(alias: Ls
) may be used to display the objects
currently held in a stored object cache.
Objects may be removed from the stored object cache using the function
Remove
.
Any of the functions Store
, Objects
or Remove
will silently attach existing stored object caches to the search path
as required.
Variants on the four basic functions with ``Data
'' or
``Utils
'' in their names, such as StoreUtils
or
ObjectsData
differ from the corresponding basic version only in
the way that their default argument values are defined. The intention
is to make it possible either to add to a local stored object
cache or to a central stored object cache for data or utulity
functions in a simple way.
A function Search
is also provided to show items on the search
together with their lib.loc
directories, as appropriate.