Re: [Rd] Inefficiency in df$col

2019-02-04 Thread Duncan Murdoch
On 04/02/2019 11:34 a.m., Martin Maechler wrote: peter dalgaard on Mon, 4 Feb 2019 16:48:12 +0100 writes: > Does either of you have a patch against current R-devel? > I tried the obvious, but the build dies with > building package 'tools' > all.R is unchanged > ..

Re: [Rd] Inefficiency in df$col

2019-02-04 Thread Duncan Murdoch
On 04/02/2019 10:48 a.m., peter dalgaard wrote: Does either of you have a patch against current R-devel? I tried the obvious, but the build dies with building package 'tools' all.R is unchanged ../../../../library/tools/libs/x86_64/tools.so is unchanged installing 'sysdata.rda' Error in get(met

Re: [Rd] Inefficiency in df$col

2019-02-04 Thread Martin Maechler
> peter dalgaard > on Mon, 4 Feb 2019 16:48:12 +0100 writes: > Does either of you have a patch against current R-devel? > I tried the obvious, but the build dies with > building package 'tools' > all.R is unchanged > ../../../../library/tools/libs/x86_64/tools.so

Re: [Rd] Inefficiency in df$col

2019-02-04 Thread peter dalgaard
Does either of you have a patch against current R-devel? I tried the obvious, but the build dies with building package 'tools' all.R is unchanged ../../../../library/tools/libs/x86_64/tools.so is unchanged installing 'sysdata.rda' Error in get(method, envir = home) : object '$.data.frame' not fo

Re: [Rd] nlminb with constraints failing on some platforms

2019-02-04 Thread Brad Bell
I get the failure message. To be specific: adcomp.git>R CMD BATCH --quiet test_nlminb.R adcomp.git>cat test_nlminb.Rout > f <- function(x) sum( log(diff(x)^2+.01) + (x[1]-1)^2 ) > opt <- nlminb(rep(0, 10), f, lower=-1, upper=3) > xhat <- rep(1, 10) > abs( opt$objective - f(xhat) ) < 1e-4  ## Must

Re: [Rd] Inefficiency in df$col

2019-02-04 Thread Duncan Murdoch
On 04/02/2019 9:20 a.m., Radford Neal wrote: I think you might want to just delete the definition of $.data.frame, reverting to the situation before R-3.1.0. I imagine the cause is that the list version is done in C code rather than R code (i.e. there's no R function `$.list`). So an alternati

Re: [Rd] Inefficiency in df$col

2019-02-04 Thread Radford Neal
> > I think you might want to just delete the definition of $.data.frame, > > reverting to the situation before R-3.1.0. > > I imagine the cause is that the list version is done in C code rather > than R code (i.e. there's no R function `$.list`). So an alternative > solution would be to also i