Re: [R-sig-Geo] can't find the function of GE_SpatialGrid

2007-03-29 Thread Roger Bivand
On Thu, 29 Mar 2007, Yong Li wrote: > Dear all, > > The following is the code I try to build grid from polygons, but was > hammered by the error in the subject. Any idea helps me. sessionInfo() ? What is the version of your maptools package - the function you are looking for has only been pres

[R-sig-Geo] can't find the function of GE_SpatialGrid

2007-03-29 Thread Yong Li
Dear all, The following is the code I try to build grid from polygons, but was hammered by the error in the subject. Any idea helps me. Yong setwd("d:/Rcode/0_Zone") library(maptools) xx <- readShapePoly("Newshape.shp", IDvar="ID", proj4string=CRS("+proj=tmerc