[R] sending methods to a new package
edd at debian.org
Sun Jan 8 02:05:23 CET 2006
On 7 January 2006 at 18:36, Erin Hodgess wrote:
| When creating a package, how do you include new methods and classes,
As you are undoubtedly aware, there are over 600 packages on CRAN. All of
these have source code that you can study. If you find one too obscure, drop
it and pick another. There _really_ is a lot to choose from. Some have S4
classes, some have S3 classes. You didn't even ask which one you're after.
Moreover, essentially the same question came up with the last week. You could
for example compare its (S4) with zoo (S3).
Lastly, by what we could call the 'Liaw-Baron principle', every question that
can be asked has in fact alreadey been asked -- RSiteSearch() really is your
> RSiteSearch("S3 class examples")
> RSiteSearch("S4 class examples")
yield, respectively, 1752 and 245 hits.
Hope this helps, Dirk
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the R-help