[Rd] cbind.data.frame(.) S/R incompatibility
Martin Maechler
Martin Maechler <maechler@stat.math.ethz.ch>
Thu, 7 Jun 2001 17:54:10 +0200
In S-plus (5.1),
> cbind(data.frame(x=1,y=2), data.frame(x=4,u=3))
x y x1 u
1 1 2 4 3
whereas in R, the 3rd name is "x", the same as the 1st one.
I think R should behave the same as S+5.1..
Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._