Skip to content
Prev 165318 / 398506 Next

Convert ASCII string to Hex in R (vice versa)

Dear all,


For example I have the following ASCII strings:
Each character in the above string represent a hexadecimal value.
I want to translate those string into an array (of size == string length)
which contain hexadecimal conversion.

as.hexmode doesn't seem to do the job.

Please advice.

- Gundala Viswanath
Jakarta - Indonesia



On Mon, Dec 22, 2008 at 4:44 PM, Dieter Menne
<dieter.menne at menne-biomed.de> wrote: