Re: [Rd] pmax and long vector

2019-01-21 Thread Kasper Daniel Hansen
Gabe, I don't (yet) know much about long vectors at the C level. So feel free to address this. Duncan, I'll see what I can do regarding systematically compiling a list of functions without long vector support. These days I frequently work with big enough matrices that I need it. On Mon, Jan 21, 2

Re: [Rd] pmax and long vector

2019-01-21 Thread Gabriel Becker
Kasper, If you're not interested or dont have time to create said patch yourself let me know and i can do it. Best, ~G On Mon, Jan 21, 2019, 11:36 AM Duncan Murdoch On 21/01/2019 12:35 p.m., Kasper Daniel Hansen wrote: > > I see that base::pmax() does not support long vectors. > > > > Is R-deve

Re: [Rd] pmax and long vector

2019-01-21 Thread Duncan Murdoch
On 21/01/2019 12:35 p.m., Kasper Daniel Hansen wrote: I see that base::pmax() does not support long vectors. Is R-devel interested in reports like this; ie. is there a goal of full support for long vectors in "basic" functions, something I at least would greatly appreciate? MRE: pmax(rep(1L,

Re: [Rd] long-standing documentation bug in ?anova.lme

2019-01-21 Thread Ben Bolker
Here are relevant patches to address the various issues described below. Thanks for the SVN info! cheers Ben Bolker On 2019-01-21 4:54 a.m., Martin Maechler wrote: >> Ben Bolker >> on Thu, 17 Jan 2019 12:32:20 -0500 writes: > > > tl;dr anova.lme() claims to provide su

[Rd] pmax and long vector

2019-01-21 Thread Kasper Daniel Hansen
I see that base::pmax() does not support long vectors. Is R-devel interested in reports like this; ie. is there a goal of full support for long vectors in "basic" functions, something I at least would greatly appreciate? MRE: > pmax(rep(1L, 3*10^9), 0) Error in pmax(rep(1L, 3 * 10^9), 0) : lo

[Rd] orderVector1 (sort.c): Tiny improvement concerning nalast

2019-01-21 Thread EMILIO TORRES MANZANERA
Dear Sir, In the functions orderVector1, orderVector1l (R-3.5.2/src/main/sort.c) there are two loops concerning nalast (lines 1096, 1105). I am not sure about the possibility of redefining them, so this function should be a little faster. The first one (line 1096) can be included in the prev

Re: [Rd] long-standing documentation bug in ?anova.lme

2019-01-21 Thread Martin Maechler
> Ben Bolker > on Thu, 17 Jan 2019 12:32:20 -0500 writes: > tl;dr anova.lme() claims to provide sums of squares, but it doesn't. And > some names are misspelled in ?lme. I can submit all this stuff as a bug > report if that's preferred. > ?anova.lme says: > When

Re: [Rd] Objectsize function visiting every element for alt-rep strings

2019-01-21 Thread Martin Maechler
> Travers Ching > on Tue, 15 Jan 2019 12:50:45 -0800 writes: > I have a toy alt-rep string package that generates > randomly seeded strings. example: library(altstringisode) > x <- altrandomStrings(1e8) head(x) [1] > "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" > "5PN2qmWqBlQ