[Rd] S4 classes and C

Ross Boylan ross at biostat.ucsf.edu
Thu May 18 19:45:17 CEST 2006


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

For writing, how to make a new instance of an S4 object.

I've found scattered hints in the archive, including a link to a talk on
this subject "I am using C code to create an S4 object based on Douglas
Bates's example in his lecture notes on
<http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slide
s.pdf>"
but the link is no longer good (after putting it all on one line).

"Writing R Extensions" (2.3.0 version) makes no reference to this topic
that I can see.
-- 
Ross Boylan                                      wk:  (415) 514-8146
185 Berry St #5700                               ross at biostat.ucsf.edu
Dept of Epidemiology and Biostatistics           fax: (415) 514-8150
University of California, San Francisco
San Francisco, CA 94107-1739                     hm:  (415) 550-1062



More information about the R-devel mailing list