Hi Carlos:

I think you got a encoding problem.
Maybe is esier to convert it.

I don't know how to convert in Mac OS, but
in linux you can use "iconv" that converts many codes
to other.

Is the original file form a windos$ OS system?
Maybe the encoding is in windows-1256 and you need
to convert to a compatible MAC enconding.

Hope this helps.

Kennneth
El dom, 10-08-2008 a las 22:14 -0700, Carlos Cuartas escribió:
> Hello,
> In R under  Mac OS X 10.5.4 I've had problems when I've tried to read a 
> data.frame with characters including tildes and accents.
> For instance Florea is changed to Flore\x96a and Ranchera is changed to 
> Rancher\x92a 
> In the code:  
> section<-read.table('Sectiondic.txt',sep='\t',header=T,stringsAsFactors=F,encoding="
>  ")
> I've changed the  "encoding" argument but I have not could find the solution.
> Any suggestion?
> 
> Thanks a lot
> 
> Carlos Cuartas
> 
> 
>       
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to