[Bioc-devel] How to choose object-oriented programming paradigm for R?
mtmorgan at fhcrc.org
Thu Sep 1 17:58:58 CEST 2011
On 09/01/2011 08:25 AM, Kenneth Chu wrote:
> Our lab is starting the process of re-implementing our existing R packages in the object-oriented programming paradigm.
> Are S4 classes/methods the "best" object-oriented programming paradigm for R?
Hi Ken --
For Bioconductor, use S4 classes. For other packages, solicit opinions
elsewhere (e.g., StackOverflow).
> Are there other comparable paradigms that one should consider?
> For example, John Chambers' OOP package, which seems simpler, but does it provide less functionality than S4? I also noticed that OOP is apparently not available through CRAN.
> Are these other paradigm, if any, as widely used, well-tested, stable and/or actively maintained as S4, and do they easily integrate with the rest of the software development facilities of R (e.g. R CMD check)?
> Thank you very much!
> Ken Chu, Ph.D.
> Scientific Associate
> Ontario Institute for Cancer Research
> Toronto, Ontario, Canada
> Bioc-devel at r-project.org mailing list
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Telephone: 206 667-2793
More information about the Bioc-devel