[R-sig-Geo] maptools and rgeos

Ben Madin lists at remoteinformation.com.au
Mon Jun 28 03:43:15 CEST 2010


I confess I'm not even familiar with the command you have shown below?

This package is still in early development, and you would need to provide a little more information about the environment you are trying to install in (sessionInfo() would be a good start). Your name might also help.

Also, I'm not one of the developers, so you are going to be better posting to the list. I don't currently have it installed on my current version of R (now 2.11).

Good luck

Ben


On 26/06/2010, at 3:00 , yuwm at hotmail.com wrote:

> I am trying to install the package Rgeos after I download the package from r-forge. However, it gives me the following information. Could you help me?
> 
>> utils:::menuInstallLocal()
> Error in gzfile(file, "r") : cannot open the connection
> In addition: Warning messages:
> 1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
> 2: In gzfile(file, "r") :
>  cannot open compressed file 'rgeos_0.0-10.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
> 
> 
> 
> 
> 
> <quote author='Ben Madin'>
> G'day all,
> 
> Please excuse my not finding this, but having just upgraded maptools, there
> appears to be some issue over gpclib - not looking for trouble, I installed
> rgeos from r-forge, and it seems to be loadable, but loading maptools I
> still get the following message.
> 
>> library(rgeos)
> Loading required package: sp
> GEOS runtime version: 3.2.0-CAPI-1.6.0 
>> library(maptools)
> Loading required package: foreign
> Loading required package: lattice
> 
> 	Note: polygon geometry computations in maptools
> 	depend on the package gpclib, which has a
> 	restricted licence. It is disabled by default;
> 	to enable gpclib, type gpclibPermit()
> 
> Checking rgeos availability as gpclib substitute:
> FALSE 
>> 
> 
> Have I missed something on installation?(I'm using William Kyngesbury's GEOS
> Frameworks)
> 
> cheers
> 
> Ben
> 
> 
> 
> sessionInfo()
> R version 2.10.1 Patched (2010-02-01 r51089) 
> x86_64-apple-darwin9.8.0 
> 
> locale:
> [1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> 
> other attached packages:
> [1] maptools_0.7-34 lattice_0.18-3  foreign_0.8-40  rgeos_0.0-9    
> sp_0.9-62      
> 
> loaded via a namespace (and not attached):
> [1] grid_2.10.1  tools_2.10.1
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> </quote>
> Quoted from: 
> http://r-sig-geo.2731867.n2.nabble.com/maptools-and-rgeos-tp5013007p5013007.html



More information about the R-sig-Geo mailing list