Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.64.0602090949010.4384@gannet.stats.ox.ac.uk>
Date: 2006-02-09T09:50:25Z
From: Brian Ripley
Subject: write.table
In-Reply-To: <004301c62d5c$b21d3ea0$7ecc1dac@barry>

> Hello!
> When using the command "write.table" I want to convert the format: 5e-04
> to  .0005. How can I do it?
> The only option I found is to use write.matrix but then I cant add rownames.
> Thank you
> Ronen

?options, see scipen.

Or, use format() to convert table before writing it.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595