[R] Chars as numbers

Martin Maechler maechler at stat.math.ethz.ch
Mon May 30 11:57:41 CEST 2005

Package 'sfsmisc'
has a function  AsciiToInt() and a few useful related "R-code"
only functions such as chars8bit();  see the help pages once
you've installed and attached the package.

But do note that these things do depend on the encoding, as Uwe
Ligges has already told you.
Things work fine for pure  ASCII {independently of encoding}
but already differ for Umlauts / Accents
between iso-latin-1 or Unicode.

Martin Maechler, ETH Zurich

More information about the R-help mailing list