Tord Snall
2003-May-05 15:00 UTC
[R] Error in library(MASS) : package/namespace load failed
Dear all, I have installed 1.7.0 on my Win XP and want to use MASS. But I get this error message:> library(MASS)Error in namespaceExport(ns, exports) : undefined exports: abbey, accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2, biopsy, birthwt, ... Error in library(MASS) : package/namespace load failed I therefore again downloaded VR.zip. When I extracted the files I always answered yes to the question of "Would you like to replace the existing file?" I also "Skip File" MASS.dll because password is needed....? I've never had this probelm with previous R versions and there is no problem with other libraries. What have I done wrong? Thanks in advance for your help! Sincerely, Tord ----------------------------------------------------------------------- Tord Sn?ll Avd. f v?xtekologi, Evolutionsbiologiskt centrum, Uppsala universitet Dept. of Plant Ecology, Evolutionary Biology Centre, Uppsala University Villav?gen 14 SE-752 36 Uppsala, Sweden Tel: 018-471 28 82 (int +46 18 471 28 82) (work) Tel: 018-25 71 33 (int +46 18 25 71 33) (home) Fax: 018-55 34 19 (int +46 18 55 34 19) (work) E-mail: Tord.Snall at ebc.uu.se Check this: http://www.vaxtbio.uu.se/resfold/snall.htm!
Prof Brian Ripley
2003-May-05 15:52 UTC
[R] Error in library(MASS) : package/namespace load failed
On Mon, 5 May 2003, Tord Snall wrote:> I have installed 1.7.0 on my Win XP and want to use MASS. But I get this > error message: > > > library(MASS) > Error in namespaceExport(ns, exports) : undefined exports: abbey, > accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2, > biopsy, birthwt, ... > Error in library(MASS) : package/namespace load failed > > I therefore again downloaded VR.zip. When I extracted the files I always^^^^^ Had you done that before? You didn't say so, but that would explain the symptoms.> answered yes to the question of "Would you like to replace the existing file?"*No* VR.zip is available for use with R 1.7.0: did you read the ReadMe in wherever you downloaded it from: it probably said `for rw1060/1/2 only'?> I also "Skip File" MASS.dll because password is needed....? > > I've never had this probelm with previous R versions and there is no > problem with other libraries. What have I done wrong?Most recently, installed a version of R 1.6.x on top of one for 1.7.0. I suspect you've never done that before. All I can suggest is that uninstall rw1070, remove all traces of the damage you have done, and try re-installing. -- Brian D. Ripley, ripley at 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