[R-sig-Geo] Shape in Latin-1

Daniel dmsilv at gmail.com
Wed May 19 00:39:20 CEST 2010

Hello all,
I have had a incovenient trouble to read a shapefile that I suspect
was encoded as "latin-1". Since I'm mac user and mac uses UTF-8, some
kind of problem could be happen.
I tryed some comand lines without success:

> brasil <- readShapeSpatial(file.choose(),
Error in getinfo.shape(fn) : Error opening SHP file

> brasil <- readShapePoly("/Users/daniel/bases/maps/Brasil/55mu2500gsr.shp", encoding="latin1")
Error in readShapePoly("/Users/daniel/bases/maps/Brasil/55mu2500gsr.shp",  :
  unused argument(s) (encoding = "latin1")

Somebody know how can I open it?

More information about the R-sig-Geo mailing list