[R] Writing to a file with fixed precision

From: Richard Hedger <richard.hedger_at_bio.ulaval.ca>
Date: Tue 11 Oct 2005 - 09:50:56 EST

I'm trying to ouput to a filled with a fixed precision: eg. if I have data x=c(1.0,1.4,2.0), I want to be able to ouput the following to a file:


I was wondering if there was a function to do this in R? Thanks,


Richard Hedger
Département de Biologie
Université Laval
Québec, Canada, G1K 7P4

        [[alternative HTML version deleted]]

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 Tue Oct 11 09:59:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:41 EST