Just to clarify: The encoding didn't come through in the email. print("éíôåëëåãåâáè") is meant to be a bunch of random greek characters.
Ned. -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ned Harding Sent: Tuesday, June 25, 2013 11:35 AM To: r-help@r-project.org Subject: [R] R CMD BATCH Unicode Hey, I am looking for some help using Unicode with R CMD BATCH on windows. In particular I would like my input and output files to be UTF-8 encoded. My command line looks like this: r CMD BATCH --encoding=UTF-8 in.txt out.txt in.txt is utf-8 encoded and contains: print("éíôåëëåãåâáè") out.txt gets: + <ERROR: re-encoding failure from encoding 'UTF-8'> What is the proper way to specify encoding on the command line? Thanks in advance, Ned. [[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.