Re: [R] Chars as numbers

From: Martin Maechler <>
Date: Mon 30 May 2005 - 19:57:41 EST

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 mailing list PLEASE do read the posting guide! Received on Mon May 30 20:03:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:15 EST