Re: [R] A model package that uses S4 methods and name spaces?

From: Douglas Bates <bates_at_stat.wisc.edu>
Date: Sat 14 May 2005 - 07:26:17 EST

rlee@fpcc.net wrote:
> I'd like to try and rewrite my package to take advantage of S4 methods and
> name spaces. I am presuming that S4 methods and name spaces will help me
> write and maintain my package.
>
> Can someone suggest a "model" package that uses best practices for mixing
> S3, S4 methods and name spaces? Preferably a package with multiple R
> source files.

It doesn't mix S3 and S4 but the Matrix package is a large package based on S4 that does show the use of S4 and a NAMESPACE. On a smaller scale, the lme4 package also uses S4 and a NAMESPACE.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 14 07:30:51 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST