[R] Classes implemented in R and packages
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Sep 28 16:17:50 CEST 2001
On Fri, 28 Sep 2001, [ISO-8859-1] José Ernesto Jardim wrote:
> I'm writing some functions and I want to use some classes and related
> ploting methods.
> I want to know if there is a list of classes implemented in R and R
> packages. I want to be shure that I'm not going to implement a class
> with the same name as in other package.
That's impossible to know: there is not even a list of all R packages, and
the contents of those on CRAN changes a few hundred times a year.
It is not even possible to find the list of classes used by a single
package, as the class names can be generated dynamically by R code.
I suggest that if you call your class JoseErnestoJardim.foo you are
likely to be safe. Well, that's overkill, but use a long descriptive
name to minimize the risk.
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help