Re: [R] write.table

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 09 Feb 2006 - 20:50:25 EST

> 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@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

______________________________________________
R-help@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
Received on Thu Feb 09 20:54:39 2006

This archive was generated by hypermail 2.1.8 : Sat 11 Feb 2006 - 01:52:50 EST