Hello, I 'd like to use some functions in myLib. So I do: library(myLib) Then I get this message: Error: package 'myLib' is not installed for 'arch=i386'> sessionInfo()R version 2.13.2 (2011-09-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 LC_NUMERIC=C [5] LC_TIME=French_France.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] XML_3.4-2.2 loaded via a namespace (and not attached): [1] tools_2.13.2 I tried to type this command:: update.packages(checkBuilt=TRUE, ask=FALSE) But it does not resolve the problem. Does someone know what should I do ? -> I did not write this myLib, it was another person. -> myLib was probably created with an older version of R, -> myLib was compiled in another platform Thanks for your help. -- View this message in context: http://r.789695.n4.nabble.com/Error-package-myLib-is-not-installed-for-arch-i386-tp4632078.html Sent from the R help mailing list archive at Nabble.com.
Jeff Newmiller
2012-Jun-01 15:37 UTC
[R] Error: package 'myLib' is not installed for 'arch=i386'
You need the package compiled for your platform. You may also need to have a version of R that is compatible with that package, depending on how that package was constructed. You can either obtain the source for the package and install RTools and compile it yourself, or convince whoever developed it to compile it for you. If you take the former route you may find it difficult obtaining help on this list in this endeavor because compiling packages is a topic for the R-devel mailing list. You may need to learn how to compile using one of the CRAN packages so others can reproduce any problems you encounter. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. ikuzar <razuki at hotmail.fr> wrote:>Hello, > >I 'd like to use some functions in myLib. So I do: >library(myLib) > >Then I get this message: >Error: package 'myLib' is not installed for 'arch=i386' > >> sessionInfo() >R version 2.13.2 (2011-09-30) >Platform: i386-pc-mingw32/i386 (32-bit) > >locale: >[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 >LC_MONETARY=French_France.1252 LC_NUMERIC=C >[5] LC_TIME=French_France.1252 > >attached base packages: >[1] stats graphics grDevices utils datasets methods base > > >other attached packages: >[1] XML_3.4-2.2 > >loaded via a namespace (and not attached): >[1] tools_2.13.2 > >I tried to type this command:: > update.packages(checkBuilt=TRUE, ask=FALSE) > >But it does not resolve the problem. > >Does someone know what should I do ? >-> I did not write this myLib, it was another person. >-> myLib was probably created with an older version of R, >-> myLib was compiled in another platform > >Thanks for your help. > > >-- >View this message in context: >http://r.789695.n4.nabble.com/Error-package-myLib-is-not-installed-for-arch-i386-tp4632078.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.
Possibly Parallel Threads
- Hard memory limit of 16GB under Windows?
- Problem with .libPaths & Rterm.exe (under Vista)
- readRegistry function (PR#12937)
- Problem with compiling shared C/C++ library for loading into R (Linux)
- Problem with compiling shared C/C++ library for loading into R (Linux)