When you install from the GUi you can either do a system wide install (in /Library/...) or you can do a user-level install (in ~/Library/...).
You can see where R searches for packages by doing .libPaths() I expect that the first element will be somewhere in your home dir. I don't use the GUI so I have forgotten how you control whether you do a local or system-wide (for all users) install of a new package, but it seems like the GUI (with your setup) always installs into the system-wide dir. Kasper On Mon, Aug 30, 2010 at 5:06 PM, steven mosher <mosherste...@gmail.com> wrote: > I was having issues installing the latest version of ' raster' from CRAN. > The behavior was that the repository showed a version 1.4-10 available. So I > installed it using the GUI installer. In installed properly as 1.4-10. > > Then I switched to the package manager to load the package. The GUI for the > manager had two instances of 'raster'. When previewed the documentation file > indicated raster 1.4.7. > > I Loaded the package and sessionInfo() had package 1.4-7 loaded. > > Figuring I might have screwed something up. I did the following. > > 1. Updated my system for the latest System patches. > 10.5.8 Build 9L31a > > 2. Remove R from ..Library/Frameworks/R.Framework > > 3. Remove R.app both the 64bit and 32 bit. > > 4 Remove all raster components ( builds from Forge that the developer and I > were testing) basically all the tar files. > > 5. I still have GDal, and Proj, and Geos Installed. > > 6. Download R and GUI Fresh from Cran > >> sessionInfo() > R version 2.11.1 (2010-05-31) > x86_64-apple-darwin9.8.0 > > locale: > [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.11.1 >> > > With No contributed packages loaded, I open the GUI Installer: > > The column that reflects the "installed version" has entries for packages > That I had previously installed, But have not installed > with this fresh and clean R install. ( XML, uncompress, survival,spatial, > sp,raster 1.4-7.....) > > When I install raster using the GUI I get this > > loaded via a namespace (and not attached): > [1] tools_2.11.1 > trying URL ' > http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.11/raster_1.4-10.tgz > ' > Content type 'application/x-gzip' length 1319282 bytes (1.3 Mb) > opened URL > ================================================== > downloaded 1.3 Mb > > > The downloaded packages are in > /var/folders/ea/eaXeR9KIEZSbgaDPdoLSwU+++TI/-Tmp-//RtmpAvZAyO/downloaded_packages >> > > Then > > library("raster") > Loading required package: sp > raster version 1.4-7 (24-August-2010) >> > > when I check the documentation using the package manager GUI, it says > raster 1.4.7 > > when I check the raster folder in R.frameworks. I see this: ( description > file) > > Package: raster > Type: Package > Title: Geographic analysis and modeling with raster data > Version: 1.4-10 > Date: 28-August-2010 > Depends: methods, sp, R (>= 2.8.0) > Suggests: rgdal (>= 0.5-33), ncdf, igraph, tcltk, lattice, rgl > Author: Robert J. Hijmans & Jacob van Etten > Maintainer: Robert J. Hijmans <r.hijm...@gmail.com> > Description: Reading, writing, manipulating, analyzing and modeling of > gridded spatial data. The package implements basic and > high-level functons, as well as map algebra. Processing of very > large files is supported. > License: GPL (>= 3) > URL: http://raster.r-forge.r-project.org/ > Repository: CRAN > Repository/R-Forge/Project: raster > Repository/R-Forge/Revision: 1137 > Date/Publication: 2010-08-29 07:13:20 > Packaged: 2010-08-28 20:51:14 UTC; rforge > Built: R 2.11.1; ; 2010-08-30 06:28:07 UTC; unix > > When I check the HTML subfolder in raster I find this file > > 00Index.html > > > This is the file that should be displayed when you select a package in the > package MANAGER GUI. > > This file is CORRECT. Index for raster 1.4.10. > > > So, I have to conclude that some resources are left hanging around after I > uninstalled R. For some reason. > > > Am I missing something? and how do I get raster 1.4.10 to load and why is > 1.4.7 left hanging around after I uninstalled R and all packages > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac