assignInMyNamespace is intended to be called from functions
within a package, and chooses the namespace as the environment of the
function calling it.
The namespace can be specified in several ways. Using, for example,
ns = "stats" is the most direct, but a loaded package can be
specified via any of the methods used for get: ns
can also be the environment printed as <namespace:foo>.
getFromNamespace is similar to (but predates) the
::: operator: it is more flexible in how the namespace
is specified.
fixInNamespace invokes edit on the object named
x and assigns the revised object in place of the original
object. For compatibility with fix, x can be unquoted.