Re: [R-sig-Geo] readOGR and nonASCII character

2007-07-24 Thread Agustin Lobo
This is what I do as a work-around: ActiG <- readOGR("C:/ALOBO/dipu2006/espaisoberts_P037/GARRAF/GFO_EOA_TOTS_v4",layer="GFO_EOA_Acti_v4") delme2 <- read.csv("C:/ALOBO/dipu2006/espaisoberts_P037/GARRAF/GFO_EOA_TOTS_v4/GFO_EOA_Acti_v4.csv",sep=";") [EMAIL PROTECTED] <- delme2$NOM_FINCA but wa

Re: [R-sig-Geo] readOGR and nonASCII character

2007-07-23 Thread Roger Bivand
On Mon, 23 Jul 2007, Agustin Lobo wrote: Roger, read.shapefile() and read.dbf() yields weird symbols for non-ascii characters in the input file also. Exporting to csv and reading in with read.csv(filename,sep=";") works fine (yes, it's odd, excel puts ";" instead of "," for CSV in spanish loc

Re: [R-sig-Geo] readOGR and nonASCII character

2007-07-22 Thread Agustin Lobo
Roger, read.shapefile() and read.dbf() yields weird symbols for non-ascii characters in the input file also. Exporting to csv and reading in with read.csv(filename,sep=";") works fine (yes, it's odd, excel puts ";" instead of "," for CSV in spanish locale as "," could be used for decimal separa

Re: [R-sig-Geo] readOGR and nonASCII character

2007-07-17 Thread Roger Bivand
On Wed, 11 Jul 2007, Agustin Lobo wrote: > Hi list, > > Is there any way to get readOGR() to correctly read > non-ascii character strings from the dbf file? I've > checked and my dbf file correctly displays > names with accents, but once read into R > accents are substituted by wrong symbols. We

[R-sig-Geo] readOGR and nonASCII character

2007-07-11 Thread Agustin Lobo
Hi list, Is there any way to get readOGR() to correctly read non-ascii character strings from the dbf file? I've checked and my dbf file correctly displays names with accents, but once read into R accents are substituted by wrong symbols. Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terr