Re: [R-sig-Geo] problem with listw2sn...

2007-11-06 Thread Roger Bivand
On Tue, 6 Nov 2007, Carson Farmer wrote: > List, > > I am trying to create a GWT file from a shapefile, and all is fine up to > listw2sn, at which point the region number ids are lost. > Here is the code for reference, maybe someone can tell me where I went > wrong? > > library(rgdal) > library(sp

[R-sig-Geo] problem with listw2sn...

2007-11-06 Thread Carson Farmer
List, I am trying to create a GWT file from a shapefile, and all is fine up to listw2sn, at which point the region number ids are lost. Here is the code for reference, maybe someone can tell me where I went wrong? library(rgdal) library(spdep) vec <- readOGR(dsn = ".", layer = layerName) coords