From sfalcon at fhcrc.org  Thu May 18 21:22:36 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Thu, 18 May 2006 12:22:36 -0700
Subject: [Rd] S4 classes and C
In-Reply-To: <1147974317.10544.23.camel@iron.psg.net> (Ross Boylan's message
	of "Thu, 18 May 2006 10:45:17 -0700")
References: <1147974317.10544.23.camel@iron.psg.net>
Message-ID: <m23bf79lz7.fsf@ziti.fhcrc.org>

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



[Rd] S4 classes and C
Seth Falcon