[R] do.call in 2.3.0 vers 2.3.x

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Thu 04 May 2006 - 19:23:43 EST


Dear R-Core,

after switching to 2.3.0, all my trusted do.call constructs that worked in 2.2 and earlier fail. I noted that changes were introduced to do.call, but I could not find out how these relate to my problem.

The following example works in 2.2 and earlier, but fails because rownames are partially NA. I can correct this by manually adding row names, but it's a bit of work to check this in all my code.

Dieter


wby = by(warpbreaks[, 1:2], warpbreaks$tension,   function(x) {
    data.frame(breaks=mean(x$breaks),var=var(x$breaks))   }
  )

cd = do.call("rbind",wby)
row.names(cd)
cd

platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status
major          2
minor          3.0
year           2006
month          04
day            24
svn rev        37909
language       R

version.string Version 2.3.0 (2006-04-24)

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 04 19:29:26 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 05 May 2006 - 00:10:11 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.