From bolstad at stat.berkeley.edu  Wed Apr  9 14:09:34 2003
From: bolstad at stat.berkeley.edu (Ben Bolstad)
Date: Wed Apr  9 22:09:56 2003
Subject: [Rd] 
	MASS and R-devel WAS: 'Apparently' trouble with name spaces and
	Sweave...
In-Reply-To: <20030409075459.GK14601432@genome.cbs.dtu.dk>
References: <20030409022334.GG14601432@genome.cbs.dtu.dk>
	 <Pine.LNX.4.44.0304090813340.20345-100000@gannet.stats>
	 <20030409075459.GK14601432@genome.cbs.dtu.dk>
Message-ID: <1049918974.24688.43.camel@bmbbox.dyndns.org>


> > 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,
galaxies,
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
1
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

Thanks,

Ben


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