Stores the registry on the file system in its “file.dir” (specified
for construction in makeRegistry, can be accessed via
reg$file.dir).
This function is usually called internally whenever needed.
saveRegistry(reg = getDefaultRegistry())[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).
[logical(1)]: TRUE if the registry was saved,
FALSE otherwise (if the registry is read-only).
Other Registry:
clearRegistry(),
getDefaultRegistry(),
loadRegistry(),
makeRegistry(),
removeRegistry(),
sweepRegistry(),
syncRegistry()