Skip to content
Prev 77179 / 398502 Next

is library loaded

On 13 Sep 2005, jfox at mcmaster.ca wrote:
Right, that's a problem.
As I understand it, library(foo) will load and attach package "foo".
If foo has a namespace, some of foo's dependencies may get loaded but
not attached.  This is only possible if said dependencies also use
namespaces.

So it is possible for a package to be loaded and not attached.  In
this case, the loaded package is not visible via search(), but is
visible via loadedNamespaces() since only packages with namespaces can
be loaded and not attached.

Clear as mud?

HTH,

+ seth
Message-ID: <m2acigw9vj.fsf@fhcrc.org>
In-Reply-To: <20050913215647.KHFI21470.tomts22-srv.bellnexxia.net@JohnDesktop8300> (John Fox's message of "Tue, 13 Sep 2005 17:56:48 -0400")