[Rd] MASS and R-devel WAS: 'Apparently' trouble with name spaces and Sweave...

Ben Bolstad bolstad at stat.berkeley.edu
Wed Apr 9 14:09:34 MEST 2003

> > It is not a known issue, but we have no idea how to reproduce this from
> > your message.  My guess is that your build of MASS is faulty, as you seem
> > to be missing all the data files.  Does library(MASS) on its own work?  
> > Did you do `make check-all' on your build?

The problem is with library(MASS).

> library(MASS)
Error in namespaceExport(ns, exports) : undefined exports: abbey,
accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2,
biopsy, birthwt, Boston, cabbages, caith, Cars93, cats, cement, chem,
coop, cpus, crabs, Cushings, DDT,
deaths, drivers, eagles, epil, farms, fdeaths, fgl, forbes, GAGurine,
gehan, genotype, geyser, gilgais, hills, housing, immer, Insurance,
leuk, lh, mammals, MASS.data.load, mcycle, mdeaths, Melanoma, menarche,
michelson, minn38, motors, muscle, newcomb, nlschools, nottem, npk,
npr1, oats, OME, painters, petrol, phones, Pima.te, Pima.tr, Pima.tr2,
quine, Rabbit, road, rock, rotifer, Rubber, ships, shoes, shrimp,
shuttle, Sitka, Sitka89, Skye, snails, SP500, steam, stormer, survey,
synth.te, synth.tr, topo, Traffic, UScereal, UScrime, VA, waders,
whiteside, wtloss
Error in library(MASS) : package/namespace load failed

I have checked the MASS installation and all the data files are there
and i can manually load() them just fine.

make check-all on my current rsync'ed R-devel chokes at.

make[3]: Entering directory `/R/tests/Examples'
collecting examples for package 'survival' ...
file ../../library/survival/R-ex cannot be opened at
../../share/perl/massage-Examples.pl line 107.
survival-Ex.R is unchanged
running code in 'survival-Ex.R' ...make[3]: *** [survival-Ex.Rout] Error
make[3]: Leaving directory `/R/tests/Examples'
make[2]: *** [test-Examples-Recommended] Error 2
make[2]: Leaving directory `/R/tests/Examples'
make[1]: *** [test-Examples-Recommended] Error 2
make[1]: Leaving directory `/R/tests'
make: *** [check-all] Error 2



More information about the R-devel mailing list