Hi,
 
Is there a built in function that returns a character vector of all subclasses 
of a given superclass? 
showClass(Class = "SomeClass") contains the info that I want, but I don't know 
how to access it.
getSubClasses <- function(superClass) return(setdiff(getClasses(.GlobalEnv), 
superClass)) wíll only work if the global enviroment isn;t filled with other 
class definitions.

I've seen functions that somewhat resemble it, but are not quite the same. 
Thanks in advance!

Cheers!!
Albert-Jan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have 
the Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to