Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcmdr) I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it is what happens:> library(Rcmdr)Loading required package: zoo Loading required package: strucchange Loading required package: sandwich Loading required package: relimp Loading required package: mvtnorm Loading required package: multcomp Loading required package: lmtest Loading required package: effects Loading required package: car Loading required package: abind Loading required package: rgl Error in library(package, character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts, : 'rgl' is not a valid package -- installed < 2.0.0? Error: .onLoad failed in loadNamespace for 'Rcmdr' Error in library(Rcmdr) : package/namespace load failed for 'Rcmdr' What should I do? Vittorio
v.demartino2 at virgilio.it wrote:> Context: Windows XP - R 2.0.1 with the latest updated packages (including > Rcmdr) > > I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it > is what happens: > > >>library(Rcmdr) > > Loading required package: zoo > Loading required package: strucchange > Loading required package: sandwich > Loading required package: relimp > Loading required package: mvtnorm > Loading required package: multcomp > Loading required package: lmtest > Loading required package: effects > Loading required package: car > Loading required package: abind > Loading required package: rgl > Error in library(package, character.only = TRUE, logical = TRUE, warn.conflicts > = warn.conflicts, : > 'rgl' is not a valid package -- installed < 2.0.0? > Error: .onLoad failed in loadNamespace for 'Rcmdr' > Error in library(Rcmdr) : package/namespace load failed for 'Rcmdr'What about installing a recent version of rgl, compiled for R-2.0.x? install.packages("rgl") should do the trick. Uwe Ligges> What should I do? > > Vittorio > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
The problem is rather that your installation of rgl is out-of-date or corrupt, as the error message says. I do not believe you do have the current rgl, and you need to get it. On Tue, 1 Feb 2005 v.demartino2 at virgilio.it wrote:> Context: Windows XP - R 2.0.1 with the latest updated packages (including > Rcmdr) > > I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it > is what happens: > >> library(Rcmdr) > Loading required package: zoo > Loading required package: strucchange > Loading required package: sandwich > Loading required package: relimp > Loading required package: mvtnorm > Loading required package: multcomp > Loading required package: lmtest > Loading required package: effects > Loading required package: car > Loading required package: abind > Loading required package: rgl > Error in library(package, character.only = TRUE, logical = TRUE, warn.conflicts > = warn.conflicts, : > 'rgl' is not a valid package -- installed < 2.0.0? > Error: .onLoad failed in loadNamespace for 'Rcmdr' > Error in library(Rcmdr) : package/namespace load failed for 'Rcmdr' > > What should I do?Try install.packages("rgl"), or use the menus to install it. -- 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