Re: [Rd] R5 reference classes: how to initialize exactly?

From: John Chambers <>
Date: Mon, 22 Nov 2010 09:25:29 -0800

As I posted previously in this same thread, reference classes are _not_ an addition to S4, but provide an interface to the "classical" OOP programming model in R, via environments and tools for those (and, also, via some S4 techniques). The current version of the Rcpp package illustrates how they can be used in an interface, to C++.

There has been more than enough confusion already between the S and R version of OOP (which I'm calling "functional classes and methods" these days) and the C++/Java/... version.

Please just refer to "R reference classes" or words to that effect.


On 11/22/10 8:54 AM, Davor Cubranic wrote:
>>> Just a clarification for posterity - R5 has nothing to do with the new
>>> reference classes. It's not even an official name, but informally it's a
>>> collection of ideas for an entirely new object system that can replace
>>> both S3 and S4 (not that it will but it should be seen as having the
>>> capability to do so technically). Reference classes are just an addition
>>> to S4.
>>> Cheers,
>>> Simon
>> Thanks for that clarification. I picked that name up from the Google
>> TechTalks presentation of Dirk and Romain. So I refer to them as S4
>> reference classes in future posts?
> Or just R15S for brevity. :-)
> Davor
> ______________________________________________
> mailing list
> mailing list Received on Mon 22 Nov 2010 - 17:30:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 22 Nov 2010 - 18:00:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive