[Rd] S4 classes and C
Ross Boylan
ross at biostat.ucsf.edu
Fri May 19 19:23:19 CEST 2006
On Fri, 2006-05-19 at 11:46 +0200, Martin Maechler wrote:
> >>>>> "Seth" == Seth Falcon <sfalcon at fhcrc.org>
> >>>>> on Thu, 18 May 2006 12:22:36 -0700 writes:
>
> Seth> Ross Boylan <ross at biostat.ucsf.edu> writes:
> >> Is there any good source of information on how S4 classes (and methods)
> >> work from C?
>
> Hmm, yes; there's nothing in the "Writing R Extensions" manual,
> and there's not so much in the ``The Green Book''
> (Chambers 1998), which is prominently cited by Doug Bates (and Saikat Debroy)
> in the paper given at DSC 2003 (mentioned earlier in this
> thread, http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Drafts/BatesDebRoy.pdf )
Particularly relevant is Appendix A.6 of the Green book. The index
isn't particularly helpful finding it. Of course, Appendix A can't
answer the question of how the R implementation might differ.
For example, A.6 discusses GET_SLOT_OFFSET, which does not appear to be
available in R.
Thanks for the pointers.
More information about the R-devel
mailing list