Re: [R] Convert ASCII string to Hex in R (vice versa)

2008-12-22 Thread Dieter Menne
Gundala Viswanath gmail.com> writes: > For example I have the following ASCII strings: > > > ascii_str <- "ORRRIROOQRQQOLORRQRROKK>IKFAA" > > ascii_str2 <- "FFDDC>" > > Each character in the above string represent a hexadecimal value. > I want to translate those

Re: [R] Convert ASCII string to Hex in R (vice versa)

2008-12-22 Thread Gundala Viswanath
Dear all, For example I have the following ASCII strings: > ascii_str <- "ORRRIROOQRQQOLORRQRROKK>IKFAA" > ascii_str2 <- "FFDDC>" Each character in the above string represent a hexadecimal value. I want to translate those string into an array (of size == string

Re: [R] Convert ASCII string to Hex in R (vice versa)

2008-12-21 Thread Dieter Menne
Gundala Viswanath gmail.com> writes: > Is there such a package in R? Re: Convert ASCII string to Hex in R (vice versa) Difficult to understand what you want: could be x = 32 (b = sprintf("%x",x) ) Also check hexmode/as.hexmode Dieter __ R-help@r-p

[R] Convert ASCII string to Hex in R (vice versa)

2008-12-21 Thread Gundala Viswanath
Dear All, Is there such a package in R? - Gundala Viswanath Jakarta - Indonesia __ 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 c