Re: [R-sig-Geo] command over works in windows and not linux

2013-04-24 Thread Edzer Pebesma
You don't provide a reproducible example, so we can only guess. The error message indicates an over() method provided by rgeos was needed. Was rgeos loaded in both cases? On 04/24/2013 01:14 AM, kapo coulibaly wrote: I'm running the following script: # Reading shapefiles grd.shp-openshape()

Re: [R-sig-Geo] command over works in windows and not linux

2013-04-24 Thread Roman Luštrik
Show us (at least) summaries of your objects. Cheers, Roman On Wed, Apr 24, 2013 at 1:14 AM, kapo coulibaly kmcou...@gmail.com wrote: I'm running the following script: # Reading shapefiles grd.shp-openshape() reaches.shp-openshape() grd.shp-grd2.shp # Creating a subset of the grid

Re: [R-sig-Geo] command over works in windows and not linux

2013-04-24 Thread Roger Bivand
On Wed, 24 Apr 2013, kapo coulibaly wrote: I'm running the following script: # Reading shapefiles grd.shp-openshape() reaches.shp-openshape() grd.shp-grd2.shp # Creating a subset of the grid around the reaches exttent sub.ind-over(grd.shp,reaches.shp) In linux slackware 13.37 x64 running

Re: [R-sig-Geo] command over works in windows and not linux

2013-04-24 Thread kapo coulibaly
Thank you all for your quick responses, The problem was that rgeos was not properly installed on the linux machine. Cheers On Wed, Apr 24, 2013 at 2:08 AM, Edzer Pebesma edzer.pebe...@uni-muenster.de wrote: You don't provide a reproducible example, so we can only guess. The error message

[R-sig-Geo] command over works in windows and not linux

2013-04-23 Thread kapo coulibaly
I'm running the following script: # Reading shapefiles grd.shp-openshape() reaches.shp-openshape() grd.shp-grd2.shp # Creating a subset of the grid around the reaches exttent sub.ind-over(grd.shp,reaches.shp) In linux slackware 13.37 x64 running R-2.15.2 I get the error: Error in function