I have an array with names which contain multibyte characters. When I try to write the array to a file using write.table and row.names = T I receive an error message when the first such name is encountered, saying that I have not specified the option to generate NA instead. I really would be satisfied if the row name in the file were exactly what is displayed when I print the array on the console, e.g., "en.\xc2". The only way I have found to avoid this is create a new array containing in one column a deparse of the original row name and in the other the value. This "solution" is ugly; "en.\xc2" becomes "\"en.\\xc2\"".
Is there a more straight forward way of dealing with multibyte characters? Thanks Richard Richard R. Liu richard....@pueo-owl.ch ______________________________________________ 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.