[GRASS-stats] Problems installing spgrass6

Dylan Beaudette dylan.beaudette at gmail.com
Wed Oct 29 14:21:48 EDT 2008


On Wednesday 29 October 2008, William Hudspeth wrote:
> Hello, I am having problems installing the latest version of spgrass6 on
> a machine running SUSE linux 10.1. From the R prompt, I updated all
> packages, including sp, rgdal, spatial, etc.
>
> I also upgraded my version of gdal using the SUSE Yast utility. When the
> update got to spgrass6, I received the following error:
>
>
> * Installing *source* package 'spgrass6' ...
> ** R
> ** inst
> ** preparing package for lazy loading
> Loading required package: sp
> Loading required package: rgdal
> Error in fun(...) : could not find function "packageStartupMessage"
> Error: .onLoad failed in 'loadNamespace' for 'rgdal'
> Error: package 'rgdal' could not be loaded
> Execution halted
> ERROR: lazy loading failed for package 'spgrass6'
> ** Removing '/usr/local/lib/R/library/spgrass6'
> ** Restoring previous '/usr/local/lib/R/library/spgrass6'
>
> The downloaded packages are in
>         /tmp/Rtmp4zsWbv/downloaded_packages
> Warning message:
> installation of package 'spgrass6' had non-zero exit status in:
> install.packages(update[, "Package"], instlib, contriburl = contriburl,
>
> Any assistance would be greatly appreciated,
>
> Thanks, William
>
>

This error probably means that you will need to first install the rgdal 
package-- which depends on a working install of GDAL library and development 
files (headers / include files / etc.).

Cheers,

Dylan

-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341


More information about the grass-stats mailing list