[R] Find the package of a class given classname
gunter.berton at gene.com
Sat Jan 11 07:13:13 CET 2014
This probably doesn't answer your question, but, amazingly enough, try
googling the class name.
It worked for GAlignmnets.
Incidentally, there's no reason class names have to be unique among R
packages.. And they can be hidden in namespaces.
Genentech Nonclinical Biostatistics
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Fri, Jan 10, 2014 at 6:49 PM, Yuan Luo <yuan.hypnos.luo at gmail.com> wrote:
> How to find the package of a class given classname?
> For example, there is a class called GAlignments, I want to do something
> attr("GAlignments", "package") that gives you the package where the class
> is defined? But of course, attr("GAlignments", "package") won't work...
> Thanks for any help!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help