Re: [Rd] rbind() on zero row matrices is inconsistent

2024-06-26 Thread Kurt Hornik
> Duncan Murdoch writes: > The help for cbind() and rbind() says > "For cbind (rbind), vectors of zero length (including NULL) are ignored > unless the result would have zero rows (columns), for S compatibility. > (Zero-extent matrices do not occur in S3 and are not ignored in R.)" > This

[Rd] rbind() on zero row matrices is inconsistent

2024-06-26 Thread Duncan Murdoch
The help for cbind() and rbind() says "For cbind (rbind), vectors of zero length (including NULL) are ignored unless the result would have zero rows (columns), for S compatibility. (Zero-extent matrices do not occur in S3 and are not ignored in R.)" This leads to an inconsistency. M <-