From ripley at stats.ox.ac.uk  Tue Nov  1 09:18:23 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 1 Nov 2005 08:18:23 +0000 (GMT)
Subject: [Rd] S4 classes in existing packages
In-Reply-To: <436720ED.6060807@stamats.de>
References: <17254.45317.101767.527318@gargle.gargle.HOWL>
	<436720ED.6060807@stamats.de>
Message-ID: <Pine.LNX.4.61.0511010807170.13190@gannet.stats>

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 at 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



[Rd] S4 classes in existing packages
Prof Brian Ripley