[R] converting decimal - hexadecimal

Gabor Grothendieck ggrothendieck at gmail.com
Wed Aug 30 16:24:29 CEST 2006


Try:

sprintf("%x", 109)


On 9/30/06, Romain Lorrilliere <romain.lorrilliere at ese.u-psud.fr> wrote:
> Hi,
>
> do you know, a method to convert an decimal value (integer) to the
> corresponding hexadecimal value ?
>
> thinks for help.
>
> Romain
>
> --
>
> Lorrillière Romain
>
>
>
> UMR 8079 Laboratoire Ecologie, Systématique et Evolution
>
> Bât. 362
>
> Université Paris-Sud
>
> 91405 Orsay cedex
>
> France
>
>
>
> tel : 01 69 15 56 85
>
> fax : 01 69 15 56 96
>
> mobile : 06 81 70 90 70
>
>
>
> email : romain.lorrilliere at ese.u-psud.fr
>
> ______________________________________________
> R-help at 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
>
>
>
>
> --
>
> Romain Lorrillière
>
>
>
> UMR 8079 Laboratoire Ecologie, Systématique et Evolution
>
> Bât. 362
>
> Université Paris-Sud
>
> 91405 Orsay cedex
>
> France
>
>
>
> tel : 01 69 15 56 85
>
> fax : 01 69 15 56 96
>
> mobile : 06 81 70 90 70
>
>
>
> email : romain.lorrilliere at ese.u-psud.fr
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list