[Rd] summary.default rounding on numeric seems inconsistent with other R behaviors
Dirk Eddelbuettel
edd at debian.org
Fri Aug 19 18:40:05 CEST 2016
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(155555L)
Min. 1st Qu. Median Mean 3rd Qu. Max.
155555 155555 155555 155555 155555 155555
R>
Maybe call it Summary() instead.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-devel
mailing list