Re: [Rd] bug: sample( x, size, replace = TRUE, prob= skewed.probs) produces uniform sample

2019-03-06 Thread Tierney, Luke
This is now fixed in R-devel. Best, luke On Sun, 3 Mar 2019, Berry, Charles wrote: > When `length( skewed.probs ) > 200' uniform samples are generated in R-devel. > > R-3.5.1 behaves as expected. > > `epsilon` can be a lot bigger than illustrated and still the uniform > distribution is produc

Re: [Rd] as.Date(Inf) displays as 'NA' but is actually 'Inf'

2019-03-06 Thread Martin Maechler
> Martin Maechler > on Wed, 6 Mar 2019 11:51:33 +0100 writes: > Gabriel Becker > on Tue, 5 Mar 2019 22:01:37 -0800 writes: >> On Tue, Mar 5, 2019 at 9:54 PM Richard White wrote: >>> Hi Gabriel, >>> >>> The point is that it *visually* displays as NA, but

Re: [Rd] as.Date(Inf) displays as 'NA' but is actually 'Inf'

2019-03-06 Thread Martin Maechler
> Gabriel Becker > on Tue, 5 Mar 2019 22:01:37 -0800 writes: > On Tue, Mar 5, 2019 at 9:54 PM Richard White wrote: >> Hi Gabriel, >> >> The point is that it *visually* displays as NA, but is.na() still >> responds as FALSE. >> >> When I (and I am sure ma

Re: [Rd] stopifnot

2019-03-06 Thread Martin Maechler
> Martin Maechler > on Tue, 5 Mar 2019 21:04:08 +0100 writes: > Suharto Anggono Suharto Anggono > on Tue, 5 Mar 2019 17:29:20 + writes: >> Another possible shortcut definition: >> assert <- function(exprs) >> do.call("stopifnot", list(exprs = substitute(