rvattach
rvattach(what, name='rvattach', overwrite=TRUE, impute=FALSE, ...)
TRUE
, objects with identical names in the Workspace (.GlobalEnv) that are masking objects in the database to be attached will be deleted.TRUE
, the components of each sub-vector are imputed into the object with identical name in the Workspace and saved into the list. The object in the Workspace is not affected.rvattach
takes an rv object, splits it up into a list
of sub-vectors
(using split.rv
) by their name attributes and attaches the list
to the search path.
For example, if the object to be processed has names x[1]
and y[3]
,
this will be split into a list of two sub-vectors, x
and y
,
and then attached.
If the option impute is TRUE
, the corresponding variables
with the same names are merged with the ones that are found in .GlobalEnv.
If the option overwrite is TRUE
, the objects with identical
names in the Workspace are deleted.