Re: [Rd] cbind/rbind inconsistency with NULL parameter (PR#3585)

2003-07-30 Thread Prof Brian Ripley
On Wed, 30 Jul 2003, Tony Plate wrote: > The R help for cbind/rbind states: > > > For `cbind' (`rbind'), vectors of zero length are ignored unless > > the result would have zero rows (columns), for S compatibility. > > (Zero-extent matrices do not occur in S and are not ignored in

Re: [Rd] cbind/rbind inconsistency with NULL parameter (PR#3585)

2003-07-30 Thread Tony Plate
The R help for cbind/rbind states: For `cbind' (`rbind'), vectors of zero length are ignored unless the result would have zero rows (columns), for S compatibility. (Zero-extent matrices do not occur in S and are not ignored in R.) I presume this means the S language as defined in th

Re: [Rd] cbind/rbind inconsistency with NULL parameter (PR#3585)

2003-07-30 Thread Dr. Johannes Martin
Dear Professor Brian Ripley, please excuse my inability to interpret the help page correctly. :[help(cbind)] : For `cbind' (`rbind'), vectors of zero length are ignored unless : the result would have zero rows (columns), for S compatibility. I guess this implies that NULL is a zero lengt

Re: [Rd] cbind/rbind inconsistency with NULL parameter (PR#3585)

2003-07-29 Thread Prof Brian Ripley
That's as documented, on the help page. (NULL is a zero-length argument.) There's even a reason given. Exactly which part of the help page did you not understand? On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > R-Version: 1.7.1 (2003-06-16) > OS: Debian/GNU Linux > > cbind and rbind handle NUL