[Rd] Methods package is now attached by default

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Sat Jan 18 00:31:02 2003


On Fri, 17 Jan 2003, Jeff Gentry wrote:

> > The current r-devel (aka R 1.7.0) now attaches the package "methods" by
> > default at startup.
> 
> There's either a problem here or something is wrong on my end as I just
> did a rsync to R-devel and the build bombed out with:

Try make clean and/or removing library/methods?

There should be an error message, as now the R used to dump methods
expects methods to exist and it is only partially constructed.  We need to
revisit what --vanilla does: it is now urgent to be able to run R without
running the .First.  Or at least that's what I find on a clean build.

> 
> gcc -shared -L/usr/local/lib -o methods.so do_substitute_direct.o
> methods_list_dispatch.o method_meta_data.o slot.o class_support.o tests.o
> -L../../../../bin -lR
> ../../../../library/methods/libs/methods.so is unchanged
> make[5]: Leaving directory `/home/jgentry/R-devel/src/library/methods/src'
> make[4]: Leaving directory `/home/jgentry/R-devel/src/library/methods/src'
> make[4]: Entering directory `/home/jgentry/R-devel/src/library/methods'
> dumping R code in package 'methods'
> initializing class and method definitions now ...Error in
> setClass("VIRTUAL", sealed = TRUE, where = envir) : 
> 	"VIRTUAL" has a sealed class definition and cannot be redefined
> Execution halted
> make[4]: *** [../../../library/methods/R/all.rda] Error 1
> 
> -Jeff
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Brian D. Ripley,                  ripley@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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595