[R] Priniting numerics

Peter Ehlers ehlers at ucalgary.ca
Sat Nov 27 11:43:35 CET 2010


On 2010-11-27 02:15, Ron Michael wrote:
> Hi all, can somebody help me on my little problem? I want to print a number say "10^10" is numerical format not in scientific notation. I ttied following:
>
>> options(scipen = 1)
>> print(10^10, 10)
> [1] 1e+10
>
> I am not getting my desired output in simple numerical format. How can I get that?
>

You'll need a greater penalty; see ?options.

Peter Ehlers

> Thanks in advance.
>
>
> 	[[alternative HTML version deleted]]
>



More information about the R-help mailing list