write.table(* , digits = ..) ?
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._