[R-sig-Geo] Failure to install spgrass6

Roger Bivand Roger.Bivand at nhh.no
Sun Sep 10 16:05:38 CEST 2006


On Sun, 10 Sep 2006, Scott W Mitchell wrote:

> Did you try adding type="source" to the install.packages command?  I  
> don't know why not having it would lead to a segfault, but I still  
> would have thought you'd need it to avoid it trying to find a binary  
> package for the Mac (at least, that's my experience on my G5).

There has been a thread recently on one of the R lists about segfaults 
when trying to access an invalid http address (as would be the case trying 
to find a mac.binary, the default here. I think the segfault is replaced 
by an error message in install.packages() now.

Roger

> 
> On 10 Sep 2006, at 0:40, Jonathan Greenberg wrote:
> 
> > I'm getting this error while trying to install spgrass6 on a dual  
> > G5/2ghz w
> > 4gb ram, and macos x 10.4.7:
> >
> >> rS <- "http://r-spatial.sourceforge.net/R"
> >> install.packages("spgrass6", repos=rS, dependencies=TRUE)
> >
> >  *** caught segfault ***
> > address 0x5f4d4550, cause 'memory not mapped'
> >
> > Traceback:
> >  1: download.file(url = paste(repos, "PACKAGES.gz", sep = "/"),  
> > destfile =
> > tmpf,     method = method, cacheOK = FALSE, quiet = TRUE, mode = "wb")
> >  2: try(download.file(url = paste(repos, "PACKAGES.gz", sep = "/"),
> > destfile = tmpf, method = method, cacheOK = FALSE, quiet =  
> > TRUE,     mode =
> > "wb"), silent = TRUE)
> >  3: available.packages(contriburl = contriburl, method = method)
> >  4: .install.macbinary(pkgs = pkgs, lib = lib, contriburl =  
> > contriburl,
> > method = method, available = available, destdir = destdir,
> > installWithVers = installWithVers, dependencies = dependencies)
> >  5: install.packages("spgrass6", repos = rS, dependencies = TRUE)
> >
> > Possible actions:
> > 1: abort (with core dump)
> > 2: normal R exit
> > 3: exit R without saving workspace
> > 4: exit R saving workspace
> > Selection:
> >
> > ***
> >
> > The dependencies have installed correctly, as far as I know.  Any  
> > thoughts?
> > Is this an issue with the fact that the machine is 64 bit?  I tried
> > installing this with the 64 bit version of R and couldn't get rgdal
> > installed...
> >
> > --j
> >
> > -- 
> > Jonathan A. Greenberg, PhD
> > NRC Research Associate
> > NASA Ames Research Center
> > MS 242-4
> > Moffett Field, CA 94035-1000
> > Office: 650-604-5896
> > Cell: 415-794-5043
> > AIM: jgrn307
> > MSN: jgrn307 at hotmail.com
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list