On 14-Oct-03 michael watson (IAH-C) wrote: > A very simple question on number formats. After some calculations, > some variables I have come out looking like this: > [...] > -1.892972e+00 > > I have tried options(digits = 12) or something similar but that doesn't > seem to help. How can I get R to export this data without the e+00?
Try formatC: pnorm(-6.1) [1] 5.303423e-10 formatC(pnorm(-6.1),format="f",digits=15) [1] "0.000000000530342" Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 167 1972 Date: 14-Oct-03 Time: 11:31:02 ------------------------------ XFMail ------------------------------ ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
