Re: [Rd] Very hard to reproduce bug (?) in R-devel

2017-04-04 Thread Winston Chang
> > >> I've done some more investigation into the problem, and it is very difficult to pin down. What it looks like is happening is roughly like this: - `p` is an environment and `p$e` is also an environment. - There is a loop. In each iteration, it looks for one item in `p$e`, saves it in a variab

Re: [Rd] Potential bug in utils::citation()

2017-04-04 Thread Martin Maechler
> Martin Maechler > on Mon, 3 Apr 2017 10:22:52 +0200 writes: > Zhian Kamvar > on Sun, 2 Apr 2017 16:26:37 -0500 writes: >> Hi, I believe the function utils::citation() will fail if >> the package specified has two or more citation entries in >> the current R

[Rd] Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound

2017-04-04 Thread dietmar.schindler
Dear Sirs, while > regexpr('(.{1,2})\\1', 'foo') [1] 2 attr(,"match.length") [1] 2 attr(,"useBytes") [1] TRUE yields the correct match, an incremented upper bound in > regexpr('(.{1,3})\\1', 'foo') [1] -1 attr(,"match.length") [1] -1 attr(,"useBytes") [1] TRUE incorrectly yields no match. R v

[Rd] Some "lm" methods give wrong results when applied to "mlm" objects

2017-04-04 Thread Jari Oksanen
I had a look at some influence measures, and it seems to me that currently several methods handle multiple lm (mlm) objects wrongly in R. In some cases there are separate "mlm" methods, but usually "mlm" objects are handled by the same methods as univariate "lm" methods, and in some cases this f