[R] read.csv : double quoted numbers

Philipp Pagel p.pagel at wzw.tum.de
Fri Aug 22 10:21:31 CEST 2008

> gsub fails on this file due to a particular value  "C￴te d'Ivoire"
> which is present in the file. This is when my locale is set to
> en_US.utf8 but when I set locale to C it (gsub) works.

Have a look at ?file, especially the section on Encoding. 


Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany

More information about the R-help mailing list