Re: [R] BaseX

2016-08-09 Thread Duncan Murdoch
On 09/08/2016 11:49 AM, Richard M. Heiberger wrote: The Rmpfr package handles base up to and including 62 > install.packages("Rmpfr") > library(Rmpfr) > ?mpfr > ?formatMpfr > formatMpfr(mpfr(1e6, precBits=53), base=62) [1] "4C92.00" > Neat: it's quite striking that all "digits" are 12 or

Re: [R] BaseX

2016-08-09 Thread Richard M. Heiberger
The Rmpfr package handles base up to and including 62 > install.packages("Rmpfr") > library(Rmpfr) > ?mpfr > ?formatMpfr > formatMpfr(mpfr(1e6, precBits=53), base=62) [1] "4C92.00" > On Tue, Aug 9, 2016 at 10:42 AM, wrote: > Hello, > > As for base 58 or base 62 I don't know, but for base 1

Re: [R] BaseX

2016-08-09 Thread ruipbarradas
Hello, As for base 58 or base 62 I don't know, but for base 16 see ?as.hexmode. See also ?strtoi. Hope this helps, Rui Barradas   Citando Ferri Leberl : > Dear everyone, > Is there an R-command to change the expression of a number into > hexadecimal, base58 base62 or any other common encod

[R] BaseX

2016-08-09 Thread Ferri Leberl
Dear everyone, Is there an R-command to change the expression of a number into hexadecimal, base58 base62 or any other common encoding with a high base of signs? Thank you in advance for your answers. Yours, Mag. Ferri Leberl __ R-help@r-project.org mai