Manipulating dclone environments
Manipulating dclone environments.
1 2 3 4 5 6 7
a variable name, given as a character string. No coercion is done, and the first element of a character vector of length greater than one will be used, with a warning.
a value to be assigned to
character, the type of environment to be accessed, see Details.
the objects to be removed, as names (unquoted) or character strings (quoted).
a character vector naming objects to be removed.
the mode or type of object sought: see the
logical, should the enclosing frames of the environment be searched?
type = "model" manipulates the
environment, which is meant to store temporary objects
for model fitting with ‘snow’ type parallelism
parDosa for the implementation).
This is swiped clean after use.
type = "results" manipulates the
environment, which is meant to store result objects on the workers.
This is not swiped clean after use.
pullDcloneEnv pulls an object from these environments,
get in effect.
pushDcloneEnv pushes an object to these environments,
assign in effect.
clearDcloneEnv removes object(s) from these environments,
rm in effect.
listDcloneEnv lists name(s) of object(s) in these environments,
ls in effect.
existsDcloneEnv tests if an object exists in these environments,
exists in effect.
pullDcloneEnv, the object found.
If no object is found an error results.
pushDcloneEnv is invoked for its side effect,
which is assigning
value to the variable
clearDcloneEnv its is the side effect of an object removed.
No value returned.
listDcloneEnv returns a character vector.
existsDcloneEnv returns logical,
TRUE if and only if an
object of the correct name and mode is found.
Peter Solymos, email@example.com