Re: [R] OOP module
Hi, On Tue, Jul 27, 2010 at 4:14 AM, Albert-Jan Roskam wrote: > Thank you! As an R newbie I sometimes find it confusing that in R everything > can be done in at least four different ways. My question about S4/OOP was > motivated by the fact that those two class systems have the same designer > (Chambers). It is as if Chambers has designed an "S5" system that has less > shortcomings than S4. For instance, I find it incredibly ugly that S4 > methods can be defined independently of their class definitions. As with all things related to lisp, you'll find people that claim it to be the best, or the worst. It seems those who take the middle ground are rare ... at least we can avoid the arguments about all those parentheses, though :-) http://en.wikipedia.org/wiki/Common_Lisp_Object_System -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] OOP module
Thank you! As an R newbie I sometimes find it confusing that in R everything can be done in at least four different ways. My question about S4/OOP was motivated by the fact that those two class systems have the same designer (Chambers). It is as if Chambers has designed an "S5" system that has less shortcomings than S4. For instance, I find it incredibly ugly that S4 methods can be defined independently of their class definitions. At first glance, OOP seems more intuitive. I have no knowledge of R.oo or proto.  Cheers!! Albert-Jan ~~ All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us? ~~ --- On Tue, 7/27/10, schuster wrote: From: schuster Subject: Re: [R] OOP module To: r-help@r-project.org Date: Tuesday, July 27, 2010, 7:01 AM Hello, My impression is that the OOP package is not used that often. For alternatives (R.oo, proto) see the posts of Gabor Grothendieck: http://www.mail-archive.com/r-help@r-project.org/msg73565.html http://www.mail-archive.com/r-help@r-project.org/msg75308.html Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg On Monday 26 July 2010 05:52:13 pm Albert-Jan Roskam wrote: > Hello, > � > Does anybody know if the OOP module (Chambers & Temple Lang) is going to > replace the the S4 (and the S3) class system? > http://www.omegahat.org/OOP/oop.pdf > > Cheers!! > Albert-Jan > > ~~ > All right, but apart from the sanitation, the medicine, education, wine, > public order, irrigation, roads, a fresh water system, and public health, > what have the Romans ever done for us? > ~~ > > > >    [[alternative HTML version deleted]] > __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] OOP module
Hello, My impression is that the OOP package is not used that often. For alternatives (R.oo, proto) see the posts of Gabor Grothendieck: http://www.mail-archive.com/r-help@r-project.org/msg73565.html http://www.mail-archive.com/r-help@r-project.org/msg75308.html Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg On Monday 26 July 2010 05:52:13 pm Albert-Jan Roskam wrote: > Hello, > � > Does anybody know if the OOP module (Chambers & Temple Lang) is going to > replace the the S4 (and the S3) class system? > http://www.omegahat.org/OOP/oop.pdf > > Cheers!! > Albert-Jan > > ~~ > All right, but apart from the sanitation, the medicine, education, wine, > public order, irrigation, roads, a fresh water system, and public health, > what have the Romans ever done for us? > ~~ > > > > [[alternative HTML version deleted]] > __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.