[Rd] R 2.5.0 refuses to print enough digits to recover exact floating point values

Zack Weinberg zack at cogsci.ucsd.edu
Tue May 22 17:49:46 CEST 2007


On 5/22/07, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
> Zack Weinberg wrote:
> >
> > I'd really appreciate some way of forcing R to print enough digits to
> > represent every possible IEEE double value.  I would also argue that
> > this should be the default behavior of dump(), write.table() and
> > friends, and save(...,ascii=TRUE), to prevent data loss.
>
> Example:
>
> formatC(exp(1), digits=100, width=-1)

Well, okay, now what about dump, write.table, save, etc?

zw



More information about the R-devel mailing list