Hi guys, I am having problem loading a package that I have installed. I have searched some old thread but they were no help in terms of solving the problem. I uninstalled every possible component of R and installed R 2.13 and followed the R-faqs installation steps. Then I installed the package (lsei) from local zip file which was installed successfully but can not be loaded and returns the error message as titled. The zip file can be downloaded below, it used to work fine on my old version of R (I think it was 2.9). http://www.stat.auckland.ac.nz/~yongwang/ I've check .libPaths() as some suggested and remove the copy in the first directory but that was the only copy that I have on the machine. Can someone give me a direction on how I can solve this problem? Thanks in advance. MK R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.> library(lsei)Error in library(lsei) : there is no package called 'lsei'> utils:::menuInstallLocal()package 'lsei' successfully unpacked and MD5 sums checked> library(lsei)Error: package 'lsei' is not installed for 'arch=i386'> .libPaths()[1] "C:/Users/user/R/win-library/2.13" "C:/Program Files/R/R-2.13.1/library" -- View this message in context: http://r.789695.n4.nabble.com/Error-package-lsei-is-not-installed-for-arch-i386-tp3773012p3773012.html Sent from the R help mailing list archive at Nabble.com.
Uwe Ligges
2011-Aug-28 15:49 UTC
[R] Error: package 'lsei' is not installed for 'arch=i386'
On 27.08.2011 15:51, MK wrote:> Hi guys, > > I am having problem loading a package that I have installed. I have searched > some old thread but they were no help in terms of solving the problem. > > I uninstalled every possible component of R and installed R 2.13May we assume R-2.13.1 is meant here? (there never was a R-2.13 release)> and > followed the R-faqs installation steps. Then I installed the package (lsei) > from local zip fileFurther on, may we assume this is Windows? (unstated) > which was installed successfully but can not be loaded> and returns the error message as titled. The zip file can be downloaded > below, it used to work fine on my old version of R (I think it was 2.9). > > http://www.stat.auckland.ac.nz/~yongwang/ > > I've check .libPaths() as some suggested and remove the copy in the first > directory but that was the only copy that I have on the machine. > > Can someone give me a direction on how I can solve this problem?Don't use the Windows binary package but install the package from sources, two reasons: 1. Since R-2.10.x, R has a new help system. Binary packages prepared for R < 2.10.0 cannot work with the new help system. 2. Since R-2.12.0, the location of compiled code changed. Hence binary packages prepared for R < 2.12.0 that include compiled code cannot work with recent versions of R. Uwe Ligges> Thanks in advance. > MK > > R version 2.13.1 (2011-07-08) > Copyright (C) 2011 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > Platform: i386-pc-mingw32/i386 (32-bit) > > R is free software and comes with ABSOLUTELY NO WARRANTY. > You are welcome to redistribute it under certain conditions. > Type 'license()' or 'licence()' for distribution details. > > Natural language support but running in an English locale > > R is a collaborative project with many contributors. > Type 'contributors()' for more information and > 'citation()' on how to cite R or R packages in publications. > > Type 'demo()' for some demos, 'help()' for on-line help, or > 'help.start()' for an HTML browser interface to help. > Type 'q()' to quit R. > >> library(lsei) > Error in library(lsei) : there is no package called 'lsei' >> utils:::menuInstallLocal() > package 'lsei' successfully unpacked and MD5 sums checked >> library(lsei) > Error: package 'lsei' is not installed for 'arch=i386' >> .libPaths() > [1] "C:/Users/user/R/win-library/2.13" "C:/Program > Files/R/R-2.13.1/library" > > -- > View this message in context: http://r.789695.n4.nabble.com/Error-package-lsei-is-not-installed-for-arch-i386-tp3773012p3773012.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.