Re: [R] dumpClass, hasSlot in R?

From: hadley wickham <h.wickham_at_gmail.com>
Date: Thu 22 Jul 2004 - 06:53:43 EST

There are a few notes about difference between the R implementation and the book at http://developer.r-project.org/methodsPackage.html

I found the hardest thing to get to grips in R was method calling - using multiple dispatch (totally different to what I'm used to from Java, Python etc.). I found this tutorial (http://www.gwydiondylan.org/gdref/tutorial.html, the sections on generic functions and multiple-dispatch) very useful. However, it is for another programming language, and although the method and class creation process feels very similar to R, the syntax is quite different. There is definitely scope for a similarly structured introduction to S4 classes in R.

Hadley



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 22 07:01:35 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:37:25 EST