Displaying 6 results from an estimated 6 matches for "155555".
Did you mean:
15555
2016 Aug 19
2
summary.default rounding on numeric seems inconsistent with other R behaviors
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
2016 Aug 23
0
summary.default rounding on numeric seems inconsistent with other R behaviors
...:
> 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 ~/.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.
yes, do use a different name. There other such functions, 'summarize()'.
Simone wrote
> I had raised the matter ten y...
2016 Aug 24
2
summary.default rounding on numeric seems inconsistent with other R behaviors
...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 ~/.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.
> yes, do use a different name. There other such functions, 'summarize()'.
> Simone wrote...
2016 Aug 19
3
summary.default rounding on numeric seems inconsistent with other R behaviors
I was wondering if it would make sense to change the default behavior of the following:
summary(15555L)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 15560 15560 15560 15560 15560 15560
summary.default on numeric values rounds values (not just presentation) to getOption("digits")-3L (or four) digits by default, making those values surprising and less suitable for
2019 Jul 12
2
Out of memory: kill process
...294.976191] oom_reaper: reaped process 155556 (samba), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[762303.508349] samba invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
[762303.508350] samba cpuset=/ mems_allowed=0
[762303.508355] CPU: 0 PID: 155555 Comm: samba Not tainted 4.19.0-0.bpo.5-amd64 #1 Debian 4.19.37-4~bpo9+1
[762303.508356] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v1.0 11/26/2012
[762303.508357] Call Trace:
[762303.508366] dump_stack+0x5c/0x7b
[762303.508369] dump_header+0x6b...
2019 Jul 12
0
Out of memory: kill process
...ocess 155556 (samba),
> now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
> [762303.508349] samba invoked oom-killer:
> gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null),
> order=0, oom_score_adj=0
> [762303.508350] samba cpuset=/ mems_allowed=0
> [762303.508355] CPU: 0 PID: 155555 Comm: samba Not tainted
> 4.19.0-0.bpo.5-amd64 #1 Debian 4.19.37-4~bpo9+1
> [762303.508356] Hardware name: Microsoft Corporation Virtual
> Machine/Virtual Machine, BIOS Hyper-V UEFI Release v1.0 11/26/2012
> [762303.508357] Call Trace:
> [762303.508366] dump_stack+0x5c/0x7b
> [...