Martin Maechler <maechler@stat.math.ethz.ch> writes:
> 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..
Actually, that's an S/S incompatibility:
S-PLUS : Copyright (c) 1988, 1996 MathSoft, Inc.
S : Copyright AT&T.
Version 3.4 Release 1 for Sun SPARC, SunOS 5.3 : 1996
Working data will be in .Data
cbind(data.frame(x=1,y=2), data.frame(x=4,u=3))
x y x u
1 1 2 4 3
(We might of course still want to follow the more recent S-PLUS,
although perhaps not put too draconian measures in to keep names
unique.)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._