Displaying 2 results from an estimated 2 matches for "jmartin2003".
2003 Jul 29
2
cbind/rbind inconsistency with NULL parameter (PR#3585)
R-Version: 1.7.1 (2003-06-16)
OS: Debian/GNU Linux
cbind and rbind handle NULL parameters inconsistently.
Consider:
> cbind()
NULL
> cbind(NULL)
NULL
And:
> cbind(diag(x = 1, 1, 1))
[,1]
[1,] 1
> cbind(NULL, diag(x = 1, 1, 1))
[,1]
[1,] 1
These seem to indicate that NULL parameters will be ignored in any call to
cbind and rbind. However:
>
2003 Jul 30
0
cbind/rbind inconsistency with NULL parameter (PR#3595)
...se.
-- Tony Plate
At Tuesday 04:31 PM 7/29/2003 +0100, Prof Brian Ripley wrote:
>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 jmartin2003@notamusica.com wrote:
>
> > R-Version: 1.7.1 (2003-06-16)
> > OS: Debian/GNU Linux
> >
> > cbind and rbind handle NULL parameters inconsistently.
> >
> > Consider:
> > > cbind()
> > NULL
> > > cbind(NULL)
> > NULL
> &g...