From ripley@stats.ox.ac.uk  Mon Jun 25 13:02:11 2001
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 25 Jun 2001 13:02:11 +0100 (BST)
Subject: [Rd] write.table(* , digits = ..) ?
In-Reply-To: <15159.4638.203418.415545@gargle.gargle.HOWL>
Message-ID: <Pine.LNX.4.31.0106251259070.9224-100000@gannet.stats>

On Mon, 25 Jun 2001, Martin Maechler wrote:

> Can anyone think of  reason why
>   write.table()
> doesn't have an optional digits argument?
> Via paste() and hence the internal "as.character" equivalent,
> it obeys the options()$digits setting ...
> which is quite logical for the experienced user, but not for others who
> just want to `export' their data to a portable format.
> I propose to add that argument in order to help these kind of users.

Well, it *is* covered in the `R Data Import/Export' manual under
write.table, and I assume all you intend to do is to include setting
options(digits=) and reset?

Brian

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] write.table(* , digits = ..) ?
Prof Brian Ripley