From ihaka@stat.auckland.ac.nz  Thu Aug  5 22:53:12 1999
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Fri, 6 Aug 1999 09:53:12 +1200
Subject: cbind is not generic as claimed, omits labels where S has them (PR#239)
In-Reply-To: <199908051128.NAA28801@pubhealth.ku.dk>; from ripley@stats.ox.ac.uk on Thu, Aug 05, 1999 at 01:28:05PM +0200
References: <199908051128.NAA28801@pubhealth.ku.dk>
Message-ID: <19990806095312.A15303@stat1.stat.auckland.ac.nz>

On Thu, Aug 05, 1999 at 01:28:05PM +0200, ripley@stats.ox.ac.uk wrote:
> Could someone who can understands the c/rbind code please sort this out.
> (It looks pretty arcane to me, and surely should not be special-casing data
> frames.)

[ That would be a member of an empty subset of the developers. :-) ]

I can see what the problem is - we don't have the generic dispatch
mechanism in place.  I will add it.

I think that the special casing of data frames is needed because this
appears to be the (undocumented) S behaviour.  A data frame anywhere in
the argument list causes the result to be a data frame.

	Ross
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


cbind is not generic as claimed, omits labels where S has them (PR#239)
Ross Ihaka