Hi Duncan, this is it:
> .libPaths() [1] "c:\\remko\\rstuff\\library" "C:/PROGRA~1/R/R-212~1.0/library" and you are right, I do have lattice installed in the latter.... I deleted it from the second library, but it still gives me the same error message. Remko ------------------------------------------------- Remko Duursma Research Lecturer Centre for Plants and the Environment University of Western Sydney Hawkesbury Campus Richmond NSW 2753 Mobile: +61 (0)422 096908 www.remkoduursma.com On Wed, Oct 20, 2010 at 10:00 AM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 19/10/2010 6:50 PM, Remko Duursma wrote: >> >> Dear R-helpers, >> >> I have a fresh installation of windows vista, and R 2.12.0 (session info >> below). > > I have seen a similar error reported when someone had a copy of lattice in a > library that came ahead of the system one. What does .libPaths() show you? > If it contains anything other than your R home library, do you have a copy > of lattice installed there? > > Duncan Murdoch > >> >> Problem: >> >>> require(sp) >> >> Loading required package: sp >> Error in library.dynam(lib, package, package.lib) : >> DLL 'lattice' not found: maybe not installed for this architecture? >> >>> require(lattice) >> >> Loading required package: lattice >> Failed with error: ‘package 'lattice' is not installed for 'arch=i386'’ >> >> >> And same problem with any other package, with the difference that I >> can reinstall other packages, but not lattice (using >> install.packages()). >> >> I have two other machines with Vista, and I have never had this >> problem before. I don't use any other platforms. >> I have also run update.packages(). >> >> Any help? >> >> >>> sessionInfo() >> >> R version 2.12.0 (2010-10-15) >> Platform: i386-pc-mingw32/i386 (32-bit) >> >> locale: >> [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 >> LC_MONETARY=English_Australia.1252 >> [4] LC_NUMERIC=C LC_TIME=English_Australia.1252 >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> other attached packages: >> [1] rgl_0.92.794 >> >> loaded via a namespace (and not attached): >> [1] grid_2.12.0 tools_2.12.0 >> >> >> >> ------------------------------------------------- >> Remko Duursma >> Research Lecturer >> >> Centre for Plants and the Environment >> University of Western Sydney >> Hawkesbury Campus >> Richmond NSW 2753 >> >> Mobile: +61 (0)422 096908 >> www.remkoduursma.com >> >> ______________________________________________ >> R-help@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. > > ______________________________________________ R-help@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.