[Rd] couldn't find function "setClass"

Douglas Bates bates at stat.wisc.edu
Tue Sep 16 18:21:35 MEST 2003


Jeff Gentry <jgentry at jimmy.harvard.edu> writes:

> With a new checkout of R-devel (last update was 2003-09-11) we are having
> a problem (it seems to be happening to all of us here on a few different
> machines) where during install/check/etc when the 'save image' happens (in
> packages using 'save image'):
> 
> ** save image
> Error: couldn't find function "setClass"
> Execution halted
> 
> 
> This is for all packages that are using classes.
> 
> Is anyone else having this problem?

Did you make sure that you have

require(methods)

early in your R sources for the package?

Depending upon the default set of packages loaded you may not have the
methods package available during install if you don't require it.



More information about the R-devel mailing list