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

Re: [R-sig-Geo] importing a shapefile stored on a server

2007-03-29 Thread Roger Bivand
On Thu, 29 Mar 2007, Stéphane Dray wrote: > Dear all, > I am just preparing a course on spatial analysis with R; The course is a > rnw file. In the file, I want to import a shapefile within R. The > shapefile is here : http://pbil.univ-lyon1.fr/R/donnees/francedep/ > > I have try : > > > libra

[R-sig-Geo] importing a shapefile stored on a server

2007-03-29 Thread Stéphane Dray
Dear all, I am just preparing a course on spatial analysis with R; The course is a rnw file. In the file, I want to import a shapefile within R. The shapefile is here : http://pbil.univ-lyon1.fr/R/donnees/francedep/ I have try : > library(maptools) Le chargement a nécessité le package : foreig