[R] paste dataframe

Olivier Martin olivier.martin at inrialpes.fr
Thu Apr 11 03:24:22 CEST 2002


Hi all,
Assume i have two dataframes A and B with characters objects
for example,
A<-rbind(c("the","is"),c("and","!"))
B<-rbind(c("car","red"),c("blue","!"))

and i would like to obtain the C dataframe
C<-rbind(c("the car", "is red"),c("and blue","!!"))

What is the solution without loops ?
Thanks
Olivier



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list