[R] how to set the number format to pure numeric?

lichi@physics.uoguelph.ca lichi at physics.uoguelph.ca
Tue Aug 24 17:31:15 CEST 2004


Hello,

I want to export a numeric matrix in pure numeric format, i.e. I want
0.0001 to appear as "0.0001". But it seems the default setting for
write.table is scientific notation, i.e. it will appear as "1e-04". how to
set the number format to pure numeric? Thank you very much for your help.

cheers,
lichi shi




More information about the R-help mailing list