getGenerics returns names what are not generics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

getGenerics returns names what are not generics

Vitalie S.-2

Hi there,

I encounter the following problem with getGenerics
when Rgraphviz is installed:

which(!sapply(getGenerics(), isGeneric))
#graph Rgraphviz     graph Rgraphviz
#  105       106       107       108

so, getGenerics returns twice graph and Rgrapviz as being generics, when they
are not:

isGeneric("graph")
#FALSE


Best,
Vitalie.

R version 2.13.0 Under development (unstable) (2011-02-11 r54330)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] grid      stats     datasets  grDevices utils     graphics  methods   base    

other attached packages:
[1] Rgraphviz_1.29.0 graph_1.28.0    

loaded via a namespace (and not attached):
[1] tools_2.13.0

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel