Powers, Randall - BLS
2009-Feb-11 16:34 UTC
[R] Eror message: not a valid package -- installed < 2.0.0
> Hello R-help, > > > We are running R version 2.6.0 (2007-10-03). I believe that I got it > from www.sunfreeware.com. A number of the packages that we attempt to > download from http://www.r-project.org/ give us the error message > below when we attempt to run them. > > Can anyone tell me what I need to do to gett these packages to run > properly? > > Thanks, > > RP > > > require("lars") > Loading required package: lars > Error in library(package, lib.loc = lib.loc, character.only = TRUE, > logical.return = TRUE, : > 'lars' is not a valid package -- installed < 2.0.0? > > > They also all have this information in common when I run the library > command (I've added the BOLD for emphasis). > > FinTS ** No title available (pre-2.0.0 install?) ** > KernSmooth Functions for kernel smoothing for Wand & > Jones > (1995) > MASS Main Package of Venables and Ripley's MASS > Matrix ** No title available (pre-2.0.0 install?) ** > R2HTML ** No title available (pre-2.0.0 install?) ** > RWinEdt ** No title available (pre-2.0.0 install?) ** > base The R Base Package > boot Bootstrap R (S-Plus) Functions (Canty) > bootstrap ** No title available (pre-2.0.0 install?) ** > car ** No title available (pre-2.0.0 install?) ** > class Functions for Classification > cluster Cluster Analysis Extended Rousseeuw et al. > codetools Code Analysis Tools for R > datasets The R Datasets Package > foreign ** No title available (pre-2.0.0 install?) ** > gplots ** No title available (pre-2.0.0 install?) ** > grDevices The R Graphics Devices and Support for Colours > and Fonts > graphics The R Graphics Package > grid The Grid Graphics Package > lars ** No title available (pre-2.0.0 install?) ** > lattice Lattice Graphics > methods Formal Methods and Classes > mgcv GAMs with GCV smoothness estimation and GAMMs > by REML/PQL > nlme Linear and Nonlinear Mixed Effects Models > nnet Feed-forward Neural Networks and Multinomial > Log-Linear Models > pastecs ** No title available (pre-2.0.0 install?) ** > pps ** No title available (pre-2.0.0 install?) ** > prettyR ** No title available (pre-2.0.0 install?) ** > rcompgen Completion generator for R > rpart Recursive Partitioning > sampling ** No title available (pre-2.0.0 install?) ** > spatial Functions for Kriging and Point Pattern > Analysis > splines Regression Spline Functions and Classes > stats The R Stats Package > stats4 Statistical Functions using S4 Classes > survey ** No title available (pre-2.0.0 install?) ** > survival Survival analysis, including penalised > likelihood. > tcltk Tcl/Tk Interface[[alternative HTML version deleted]]
Ben Bolker
2009-Feb-11 19:48 UTC
[R] Eror message: not a valid package -- installed < 2.0.0
Is there any reason you can't just install an up-to-date version of R (R 2.8.1), from cran.us.r-project.org (or your favorite mirror, see www.r-project.org) and see if that fixes the problem? Installing R on SunOS is not quite the breeze that it is on MacOS, Windows, or Linux, but it's not that bad ... and you are much more likely to get help from the list if you make it worth people's while to help you by either (1) explaining why you are stuck with an old version [regulatory compliance/mission-critical old R software] or (2) installing recent R and showing that the problem persists. Ben Bolker Powers, Randall - BLS wrote:> > > >> Hello R-help, >> >> >> We are running R version 2.6.0 (2007-10-03). I believe that I got it >> from www.sunfreeware.com. A number of the packages that we attempt to >> download from http://www.r-project.org/ give us the error message >> below when we attempt to run them. >> >-- View this message in context: http://www.nabble.com/Eror-message%3A--not-a-valid-package----installed-%3C-2.0.0-tp21962051p21962788.html Sent from the R help mailing list archive at Nabble.com.