I seem to have something wrong in my installation when trying to update packages. Thanks for any assistance...> update.packages()trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain' length 53385 bytes opened URL .......... .......... .......... .......... .......... .. downloaded 52Kb Error in if (a[k] > b[k]) return(TRUE) else if (a[k] < b[k]) return(FALSE) : missing value where logical needed In addition: Warning message: NAs introduced by coercion> R.version_ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 3.0 year 2001 month 06 day 22 language R -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 30 Aug 2001, Denis White wrote:> I seem to have something wrong in my installation when trying to > update packages. Thanks for any assistance... > > > update.packages() > trying URL `http://cran.r-project.org/src/contrib/PACKAGES' > Content type `text/plain' length 53385 bytes > opened URL > .......... .......... .......... .......... .......... > .. > downloaded 52Kb > > Error in if (a[k] > b[k]) return(TRUE) else if (a[k] < b[k]) return(FALSE) : > missing value where logical needed > In addition: Warning message: > NAs introduced by coercionThat error seems to be coming from newerVersion in old.packages, and means that an installed package has an incorrect Version: field. Try installed.packages()[, c("Package", "Version")] to see what it might be. (Actually, it could mean a CRAN package has an incorrect version, but then lots of us would see it.) You might want to use traceback() to confirm the source. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> Denis White writes:> I seem to have something wrong in my installation when trying to > update packages. Thanks for any assistance...Wait for 1.3.1 and try again. These problems usually come from packages installed a long time ago without valid version information. The newer (1.3.1) tests for outdated packages wrap the comparisons into try() and hence no longer throw an error ... -k>> update.packages() > trying URL `http://cran.r-project.org/src/contrib/PACKAGES' > Content type `text/plain' length 53385 bytes > opened URL > .......... .......... .......... .......... .......... > .. > downloaded 52Kb> Error in if (a[k] > b[k]) return(TRUE) else if (a[k] < b[k]) return(FALSE) : > missing value where logical needed > In addition: Warning message: > NAs introduced by coercion>> R.version > _ > platform sparc-sun-solaris2.7 > arch sparc > os solaris2.7 > system sparc, solaris2.7 > status > major 1 > minor 3.0 > year 2001 > month 06 > day 22 > language R> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._