Re: [R] converting decimal - hexadecimal

From: Dan Gunter <>
Date: Sat 09 Sep 2006 - 05:04:59 GMT

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 Gunter. voice:510-495-2504 fax:510-486-6363

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat Sep 09 15:09:44 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 09 Sep 2006 - 05:30:04 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.