From ihaka@stat.auckland.ac.nz  Sat Aug  7 03:52:37 1999
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Sat, 7 Aug 1999 14:52:37 +1200
Subject: cbind is not generic as claimed, omits labels where S has them (PR#239)
In-Reply-To: <199908070037.MAA18569@stat1.stat.auckland.ac.nz>; from Ross Ihaka on Sat, Aug 07, 1999 at 12:37:59PM +1200
References: <199908070037.MAA18569@stat1.stat.auckland.ac.nz>
Message-ID: <19990807145237.A19953@stat1.stat.auckland.ac.nz>

I've modified rbind/cbind so that they dispatch as follows:

1) For each argument we get the list of possible class memberships from
   the class attribute.

2) We inspect each class in turn to see if there is an an applicable
   method.

3) If we find an applicable method we make sure that it is identical to
   any method determined from prior arguments.  If it is identical, we
   proceed, otherwise we immediately drop through to the default code.

This is commited in the development version.  Are there any other
functions which should behave this way.

(Sorry for any obtuseness.  Sleep is in short supply at present.)

	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