Re: [R] map issues

2007-09-18 Thread Paul Hiemstra
Dear Alexander, You can use the function readShapePoly function from maptools. This directly reads the shapefile into a SpatialPolygons object. You also need to install the sp package (don't know if you did that already). You could consider joining the r-sig-geo mailing list. These kinds of qu

[R] map issues

2007-09-17 Thread Alexander Nervedi
Hi ! I have a shapefile that I can easily read into R using library(maptools). My problem stems from some warning messages that come even though everything seems to work fine. library(maptools) districts <- read.shape(filen = "a_ds", dbf.data = TRUE) length(districts$Shapes) so far so good. w