[R] converting decimal - hexadecimal
Dan Gunter
dkgunter at lbl.gov
Sat Sep 9 07:04:59 CEST 2006
Romain Lorrilliere wrote:
> Hi,
>
> do you know, a method to convert an decimal value (integer) to the
> corresponding hexadecimal value ?
>
> thinks for help.
>
> Romain
>
>
You mean "representation", not "value"; the value doesn't change. One
method is sprintf with the "%x" formatting code.
-Dan
--
Dan Gunter. voice:510-495-2504 fax:510-486-6363 dsd.lbl.gov/~dang
More information about the R-help
mailing list