Re: [Rd] S4 classes in existing packages

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Tue 01 Nov 2005 - 15:55:44 GMT


Fritz gave a talk on S4 using pixmap as example at useR! 2004. You might want to start with that. The slides should be on the useR! 2004 web site.

Andy

> From: Jeff Enos
>
> Thanks to Dirk Eddelbuettel, Matthias Kohl, Professor Ripley, and
> Bernhard Pfaff for their helpful reponses.
>
> Here is a list of the packages they recommended:
>
> CRAN: distr distrEx distrSim distrTEst RandVar CoCo DBI IDPmisc Matrix
> RMySQL ROracle RSQLite RUnit SparseM aod arules boolean coin
> colorspace copula deal dynamicGraph fBasics(etc) flexclust flexmix
> giRaph gpclib its kappalab kernalb limma lme4 matlab monoProc
> orientlib partsm pixmap tuneR urca
>
> R sources: stats4
>
> BoiC: most/all
>
> Which of these are thought (by the community as a whole) to use S4
> classes in a method/style that less experienced programmers like me
> should try to learn from and emulate?
>
> Thanks,
>
> Jeff
>
> Prof Brian Ripley writes:
> > On Tue, 1 Nov 2005, Matthias Kohl wrote:
> >
> > > Jeff Enos schrieb:
> > >
> > >> R-devel,
> > >>
> > >> I'm interested in looking at some examples of existing
> R packages that
> > >> rely heavily on S4 classes to get a feel for varying styles and
> > >> package organization techniques. Could you recommend
> any packages
> > >> that might serve as a good starting point?
> > >>
> > >> Thanks in advance,
> > >>
> > >> Jeff
> > >>
> > >>
> > > our packages distr, distrEx, distrSim, distrTEst and
> RandVar are based
> > > on S4 classes and methods.
> >
> > As do many others, providing the variety of styles that
> the questioner
> > asked for. Those that are documented to do so include
> >
> > CoCo DBI IDPmisc Matrix RMySQL ROracle RSQLite RUnit
> SparseM aod arules
> > boolean coin colorspace copula deal dynamicGraph
> fBasics(etc) flexclust
> > flexmix giRaph gpclib its kappalab kernalb limma lme4
> matlab monoProc
> > orientlib partsm pixmap tuneR
> >
> > on CRAM, stats4 in the R sources and most (all?) of BioC.
> >
> > --
> > Brian D. Ripley, ripley@stats.ox.ac.uk
> > Professor of Applied Statistics,
> http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford,
> Tel: +44 1865 272861 (self)
> > 1 South Parks Road, +44 1865 272866 (PA)
> > Oxford OX1 3TG, UK Fax: +44 1865 272595
>
> --
> Jeff Enos
> Kane Capital Management
> jeff@kanecap.com
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Nov 02 02:59:33 2005

This archive was generated by hypermail 2.1.8 : Tue 01 Nov 2005 - 17:21:14 GMT