[Rd] Classes and methods

From: Sebastien Durand <sebastien.durand_at_umontreal.ca>
Date: Tue 04 Jul 2006 - 22:10:50 GMT

Dear all,

I have constructed a fairly large package and I wish to improve my code through the used of adapted classes and methods.

1- Is it a good idea to use S4 methods and classes ? e.g.: "setClass", "setMethod" and so forth ....

>From what I have read it seems so!

I have ordered J.M. Chambers book "programming with data, 1998" and I have read a very short and well writen document 13p. long entitled : Classes and Methods in the S Language, 2001.

These documents are old, but based on R help definition .Rd files are obviously important references!

2- I hope I am still on the wright track... if not please let me know...

Unfortunately, it will take two to six weeks before I receive the manual I have ordered.

3- Is there any other relevant and downloadable document out there that I could read meanwhile to improve my R skill using object-oriented techniques.


Sébastien Durand


R-devel@r-project.org mailing list
Received on Wed Jul 05 09:22:51 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 05 Jul 2006 - 00:25:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.