While not wholly directed towards OO programming, 'R Programming for
Bioinformatics' does cover both the S3 and S4 systems (and how to make
them play nicely together) at an accessible level.
http://www.bioconductor.org/pub/RBioinf/
Best,
Jim
Krzysztof Sakrejda-Leavitt wrote:
Tom Backer Johnsen wrote:
This is interesting. The fact that there are so few texts on the
subject probably means that very few are using OO programming methods
in R.
That's overstating the problem. I frequently run into OO R packages and
many of them are very nicely done. Some good examples you could follow
are the packages: 'simecol','lme4', and 'pomp'.
The main issue I see is that R's OO model is different than C++/PHP/Java
(the ones I'm familiar with). Due to that difference a resource tightly
focused on programming technique would be very valuable---it would make
the process of getting into writing 'correct' OO packages simpler.
Best,
Krzysztof
-----------------------------------------------
Krzysztof Sakrejda-Leavitt
Organismic and Evolutionary Biology
University of Massachusetts, Amherst
319 Morrill Science Center South
611 N. Pleasant Street
Amherst, MA 01003
work #: 413-325-6555
email: sakre...@nsm.umass.edu
______________________________________________
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.
--
James W. MacDonald, M.S.
Biostatistician
Douglas Lab
5912 Buhl
1241 E. Catherine St.
Ann Arbor MI 48109-5618
734-615-7826
______________________________________________
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.