On Jan 16, 2009, at 8:48 AM, Prof Brian Ripley wrote:

You need to use CP1252 not UTF-8 to read the data. It tells you how to do so on the help page ... under 'encoding'. So something like

 A <- read.table(con <- file("myfile", encoding="CP1252"));close(con)

Please don't cross-post ... I am being brief because you did.


snip


Realizing that it might not work in all situations, would it give (possibly) useful results to assign the incorrect encoding found in Gustaf's email, which nonetheless was interpreted sensibly, "iso-8859-1", to the encoding string?

--
David Winsemius

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to