Re: [R] converting decimal - hexadecimal

From: Diethelm Wuertz <wuertz_at_itp.phys.ethz.ch>
Date: Sat 09 Sep 2006 - 12:24: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
>
>
>
The fBasics package has two hidden functions:

 > .dec.to.hex(145678)
[1] "02390E"

 > .hex.to.dec("02390E")
[1] 145678

DW

**



R-help@stat.math.ethz.ch 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 commented, minimal, self-contained, reproducible code. Received on Sat Sep 09 23:39:03 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 - 14:30:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.