[Rd] S4 classes and C

Seth Falcon sfalcon at fhcrc.org
Thu May 18 21:22:36 CEST 2006


Ross Boylan <ross at biostat.ucsf.edu> writes:

> Is there any good source of information on how S4 classes (and methods)
> work from C?
>
> E.g., for reading
> how to read a slot value
> how to invoke a method
> how to test if you have an s4 object

You might look at Bioconductor's Ruuid package.  It does some of this
and is fairly small, so it is easy to see what is going on.

http://bioconductor.org/packages/1.8/bioc/html/Ruuid.html

+ seth



More information about the R-devel mailing list