Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-25 Thread Martin Maechler
> John Mount > on Wed, 24 Aug 2016 07:25:50 -0700 writes: >> On Aug 24, 2016, at 2:36 AM, Martin Maechler >> wrote: >> >>> >> >> [Talking to myself .. ;-)] Yes, but that's the tough part >> to

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-24 Thread John Mount
> On Aug 24, 2016, at 2:36 AM, Martin Maechler > wrote: > >> > > [Talking to myself .. ;-)] > Yes, but that's the tough part to change. > > This thread's topic is really only about changing summary.default(), > and I have started testing such a change now,

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-24 Thread Martin Maechler
> Martin Maechler > on Tue, 23 Aug 2016 14:33:58 +0200 writes: > Dirk Eddelbuettel > on Fri, 19 Aug 2016 11:40:05 -0500 writes: >> It is the old story of defined behaviour and expected outcomes. Hard to >> change now.

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-23 Thread Martin Maechler
> Dirk Eddelbuettel > on Fri, 19 Aug 2016 11:40:05 -0500 writes: > It is the old story of defined behaviour and expected outcomes. Hard to > change now. yes... not impossible though... see below > So I would suggest you do something like this in your

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-19 Thread Dirk Eddelbuettel
It is the old story of defined behaviour and expected outcomes. Hard to change now. So I would suggest you do something like this in your ~/.Rprofile: R> smry <- function(...) summary(..., digits=6) R> smry(15L) Min. 1st Qu. MedianMean 3rd Qu.Max. 15 15 15 15

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-19 Thread Simone Giannerini
John, I had raised the matter ten years ago, and I was told that the topic was already very^3 old https://stat.ethz.ch/pipermail/r-devel/2006-September/042684.html there is some discussion on its origin and also a declaration of intents to change the default behaviour, which, unfortunately,

Re: [Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-19 Thread Jim Porzak
Concur. I would argue the issue is more critical when sharing results (say summary() in a RMarkdown) with our business partners. On Fri, Aug 19, 2016 at 8:04 AM, John Mount wrote: > I was wondering if it would make sense to change the default behavior of > the

[Rd] summary.default rounding on numeric seems inconsistent with other R behaviors

2016-08-19 Thread John Mount
I was wondering if it would make sense to change the default behavior of the following: summary(1L) ##Min. 1st Qu. MedianMean 3rd Qu.Max. ## 15560 15560 15560 15560 15560 15560 summary.default on numeric values rounds values (not just presentation) to