[STATSGRASS] problem installing spgrass6 with R 2.5.1

Mauricio Zambrano hzambran.newsgroups at gmail.com
Mon Sep 24 14:26:10 EDT 2007


Hi,
I had R 2.4.1 with spgrass6 library running OK in my machine, but
after an upgrade from 2.4.1 to 2.5.1 problems have started.

When I loaded the SPGRASS6 library, I got the following:

> library(spgrass6)
Loading required package: sp
Loading required package: maptools
Loading required package: foreign
Loading required package: rgdal
Error in .Internal(putenv(x)) : no hay ninguna función interna "putenv"
Error : .onLoad failed in 'loadNamespace' for 'rgdal'
Error: package 'rgdal' could not be loaded

When I tried to re-install the SPGRASS6 library I got this:

> install.packages("spgrass6", dependencies=TRUE)
Aviso en install.packages("spgrass6", dependencies = TRUE) :
         argument 'lib' is missing: using
'/home/hzambran/R/i486-pc-linux-gnu-library/2.5'
probando la URL 'http://cran.fhcrc.org/src/contrib/spgrass6_0.4-2.tar.gz'
Content type 'application/x-gzip' length 319712 bytes
URL abierta
==================================================
downloaded 312Kb

* Installing *source* package 'spgrass6' ...
** R
** inst
** preparing package for lazy loading
Loading required package: sp
Loading required package: maptools
Loading required package: foreign
Loading required package: rgdal
Error in .Internal(putenv(x)) : no internal function "putenv"
Error : .onLoad failed in 'loadNamespace' for 'rgdal'
Error: package 'rgdal' could not be loaded
Execution halted
ERROR: lazy loading failed for package 'spgrass6'
** Removing '/home/hzambran/R/i486-pc-linux-gnu-library/2.5/spgrass6'

The downloaded packages are in
        /tmp/RtmptdSn7W/downloaded_packages
Warning message:
installation of package 'spgrass6' had non-zero exit status in:
install.packages("spgrass6", dependencies = TRUE)


Somebody has an idea about how to solve it ?.

Thanks in advance

Mauricio




More information about the grass-stats mailing list