Processes attach(what, ...) - when what is a variable that holds a tracked
InGraphIdentifierDefinition#envState, all statically-known definitions from
that environment are injected into a new scope layer inserted between the current
scope and its parent. This mirrors R's behaviour: attach adds to the search path
below .GlobalEnv, so existing global bindings take precedence, but after a
rm(name) removes a global shadow the attached binding becomes visible again.
Processes
attach(what, ...)- whenwhatis a variable that holds a tracked InGraphIdentifierDefinition#envState, all statically-known definitions from that environment are injected into a new scope layer inserted between the current scope and its parent. This mirrors R's behaviour:attachadds to the search path below.GlobalEnv, so existing global bindings take precedence, but after arm(name)removes a global shadow the attached binding becomes visible again.