search for: isregisterednamespace

Displaying 3 results from an estimated 3 matches for "isregisterednamespace".

2015 Jan 26
2
speedbump in library
..."symbol") : cannot coerce type 'environment' to vector of type 'symbol' > So, from my (non native English view) a slightly more suggestive function name may be isLoadedNamespace(name) or using Luke's original language, still present in the C code, isRegisteredNamespace(name) but I would prefer the former, isLoadedN..S..() Martin > On Mon, Jan 26, 2015 at 3:36 AM, Martin Maechler > <maechler at lynne.stat.math.ethz.ch> wrote: >>>>>>> Winston Chang <winstonchang1 at gmail.com> on Fri, 23 >>>>&gt...
2015 Jan 26
0
speedbump in library
...e 'environment' to vector of type 'symbol' > > > > So, from my (non native English view) a slightly more suggestive > function name may be > > isLoadedNamespace(name) > > or using Luke's original language, still present in the C code, > > isRegisteredNamespace(name) > > but I would prefer the former, isLoadedN..S..() > > Martin > > > On Mon, Jan 26, 2015 at 3:36 AM, Martin Maechler > > <maechler at lynne.stat.math.ethz.ch> wrote: > >>>>>>> Winston Chang <winstonchang1 at gmail.com&g...
2015 Jan 26
2
speedbump in library
>>>>> Winston Chang <winstonchang1 at gmail.com> >>>>> on Fri, 23 Jan 2015 10:15:53 -0600 writes: > I think you can simplify a little by replacing this: > pkg %in% loadedNamespaces() > with this: > .getNamespace(pkg) almost: It would be !is.null(.getNamespace(pkg)) > Whereas getNamespace(pkg) will load the