[R-sig-Geo] edit.nb

Roger Bivand Roger.Bivand at nhh.no
Sat Jul 31 16:28:47 CEST 2010


On Sat, 31 Jul 2010, cribeiro at ualg.pt wrote:

> Hello,
>
> When I use edit.nb() in R version 2.9.2 (2009-08-24), it works fine. But when 
> Iuse it in R version 2.11.1 (2010-05-31), it dosen't. Can you help me with 
> this, please?

The issue is that maptools has been updated to try to stop the use of the 
very outdated polylist representation of polygons, given as the polys= 
argument. The edit.nb function does work when polys= is given an object 
inheriting from SpatialPolygons. I've submitted a revision of spdep to 
CRAN to permit the backwards-compatible use of polylist objects, but a 
warning is issued asking that the newer representation be used.

Roger


>
> Thank's.
>
> Conceição Ribeiro
>
>
> ----------------------------------------------------------------
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no


More information about the R-sig-Geo mailing list