Hi, I am trying to load the library(ks), but I am getting the following error: Loading required package: KernSmooth KernSmooth 2.22 installed Copyright M. P. Wand 1997 Loading required package: mvtnorm Loading required package: rgl Loading required package: misc3d Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : ReadItem: unknown type 241 In addition: Warning messages: 1: package 'ks' was built under R version 2.7.1 2: package 'misc3d' was built under R version 2.6.0 Error: package/namespace load failed for 'ks' I have installed the newer versions of ks (1.5.5) and misc3d(0.6-1) and I am using Windows Xp 32-bit. Please let me know the source of the above error. Many thanks in advance. Best, Mayukh [[alternative HTML version deleted]]
Mayukh Dass wrote:> Hi, > > I am trying to load the library(ks), but I am getting the following error: > > Loading required package: KernSmooth > KernSmooth 2.22 installed > Copyright M. P. Wand 1997 > Loading required package: mvtnorm > Loading required package: rgl > Loading required package: misc3d > Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : > ReadItem: unknown type 241 > In addition: Warning messages: > 1: package 'ks' was built under R version 2.7.1 > 2: package 'misc3d' was built under R version 2.6.0Your version of R seems to be < 2.6.0 but you have installed binary packages that were built for R-2.7.1 and R-2.6.0, respectively... Best wishes, Uwe> Error: package/namespace load failed for 'ks' > > I have installed the newer versions of ks (1.5.5) and misc3d(0.6-1) and I am > using Windows Xp 32-bit. > > Please let me know the source of the above error. > > Many thanks in advance. > > Best, > Mayukh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Please see the posting guide. Most likely you are using a long-obsolete version of R. You were asked to update to the current R (R 2.7.1) *before* posting. On Tue, 1 Jul 2008, Mayukh Dass wrote:> Hi, > > I am trying to load the library(ks), but I am getting the following error: > > Loading required package: KernSmooth > KernSmooth 2.22 installed > Copyright M. P. Wand 1997 > Loading required package: mvtnorm > Loading required package: rgl > Loading required package: misc3d > Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : > ReadItem: unknown type 241 > In addition: Warning messages: > 1: package 'ks' was built under R version 2.7.1 > 2: package 'misc3d' was built under R version 2.6.0Those messages indicate that you are using R < 2.6.0. If that is not the case, you have something badly wrong with your installation.> Error: package/namespace load failed for 'ks' > > I have installed the newer versions of ks (1.5.5) and misc3d(0.6-1) and I am > using Windows Xp 32-bit. > > Please let me know the source of the above error. > > Many thanks in advance. > > Best, > Mayukh > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- 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