[R] the biggest integer R can display in complete form but not scientific form
Francisco J. Zagmutt
gerifalte28 at hotmail.com
Wed Jun 6 06:26:30 CEST 2007
Also, look at options(digits) to set the number digits to be printed in
the console, i.e.
> pi
[1] 3.141593
> options(digits=22)
> pi
[1] 3.141592653589793
Regards
Francisco
Roland Rau wrote:
> 李俊杰 wrote:
>> Dear R-lister,
>>
>> One of my friends wanted to produce random number which is 64 bits. He did
>> it with Fortune. I think R can do it also. But I don't know how to display a
>> very big integer in the complete form but not scientific form. And what's
>> the biggest integer R can display in complete form ?
>>
>> Thanks in advance,
>>
>> Li Junjie
>>
>>
>>
> I guess the biggest integer R can represent (if this is what you mean)
> is machine dependent and you can find it out via:
>
> .Machine
> help(".Machine")
>
> I hope this helps,
> Roland
>
> ______________________________________________
> 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