On Jan 19, 2012, at 7:27 PM, Jeroen Ooms wrote: >> >> I installed "libiconv" from http://www.gnu.org/software/libiconv/, and >> now I can easily replace all non- ASCII characters in my UTF-8 encoded R >> files with: iconv -f UTF-8 -t ASCII --unicode-subst="\u%04X" >> my-utf-8-encoded-file.R > > > Maybe it would be possible to create an R package that exposes an R > interface to libiconv, in a smililar spirt as how the package XML > interfaces to libxml2 and RCurl to libcurl, etc >
Well, R does that - see ?iconv ... ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel