I'm trying to figure out if in R, it would be possible to implement the python-ism
import VeryLongPackageName as alias
(This essentially only serves to save keystrokes, but I think if it were easier to fully-qualify packages, there would be less painful masking to deal with in our lives.)
So far, I see that the package::object operator calls getExportedValue(as.character(package), as.character(value)), which in turn eventually calls getNamespace(as.character(package)). This either tries an internal C function or failing that calls loadNamespace. And there I am stuck. I have not found any documentation about how to do reflection onto the registry of namespaces.
Alternatively, I wonder if it might be possible to overload the :: operator, though I can't tell if this is a terrible idea, or not.