Re: [R] Printing large number

From: Liviu Andronic <>
Date: Thu, 24 Jan 2008 15:52:18 +0100

On 1/24/08, alex lam (RI) <> wrote:
> Dear R users,
> Just a quick question, how do I prevent 100000 printed as 1e+05 when I
> print it into a file?

You would be interested in "scipen" and/or "digits".

# # Set digits display options
options(digits = 4)
options(scipen = 6)

Liviu mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Jan 2008 - 15:06:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jan 2008 - 15:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive