Re: [Rd] print(...,digits=2) behavior

2011-03-08 Thread Terry Therneau
This affects _many_ *.Rout.save checks in packages. I assume this is in the R-devel branch. I've got an addition to survival nearly ready to go (faster concordance calculation). At what point should I should I switch over to the newer version, fix up my .out files etc, to best mesh with the

Re: [Rd] print(...,digits=2) behavior

2011-02-13 Thread Petr Savicky
On Mon, Feb 07, 2011 at 09:56:18AM +0100, Martin Maechler wrote: [...] Namely, one important purpose of the test is to ensure that e.g. print(3.597, digits = 3) is printed as 3.6 and not 3.60 Now I have had -- since 1997 at least -- an R version of scientific() for more easy

Re: [Rd] print(...,digits=2) behavior

2011-02-09 Thread Petr Savicky
On Mon, Feb 07, 2011 at 09:56:18AM +0100, Martin Maechler wrote: Ben Bolker bbol...@gmail.com on Sat, 5 Feb 2011 15:58:09 -0500 writes: A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this

Re: [Rd] print(...,digits=2) behavior

2011-02-07 Thread Martin Maechler
Ben Bolker bbol...@gmail.com on Sat, 5 Feb 2011 15:58:09 -0500 writes: A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this happens: print(7.921,digits=2) [1] 8 print(7.92,digits=2)

Re: [Rd] print(...,digits=2) behavior

2011-02-07 Thread Petr Savicky
On Mon, Feb 07, 2011 at 09:56:18AM +0100, Martin Maechler wrote: Ben Bolker bbol...@gmail.com on Sat, 5 Feb 2011 15:58:09 -0500 writes: A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this

[Rd] print(...,digits=2) behavior

2011-02-05 Thread Ben Bolker
A bug was recently posted to the R bug database (which probably would better have been posted as a query here) as to why this happens: print(7.921,digits=2) [1] 8 print(7.92,digits=2) [1] 7.9 Two things I *haven't* done to help make sense of this for myself are (1) writing out the binary