[Rd] couldn't find function "setClass"

Jeff Gentry jgentry at jimmy.harvard.edu
Tue Sep 16 15:11:49 MEST 2003

> Did you make sure that you have
> require(methods)
> early in your R sources for the package?

No, and that was exactly the problem (although specifically I put the
'require(methods)' into the R_PROFILE.R file).  I was under the impression
that methods was always loaded by default when R started up (and thus,
many of the BioC packages no longer have an explicit 'require(methods)'
call).  As I said, this is something relatively recent in R-devel, and
wasn't necessary just a week ago ... I'm assuming it was an intended
change tho. :)


More information about the R-devel mailing list