Hi, Try this,
within(data.frame(A=letters[1:5], B=1:5), C <- paste(A, B, sep=".")) HTH, baptiste On Nov 30, 2010, at 9:30 AM, alcesgabbo wrote: > > I have a table like this: > > > A B > aaa 111 > bbb 222 > ccc 333 > ddd 444 > > and I would like a new row C: > > A B C > aaa 111 aaa.111 > bbb 222 bbb.222 > ccc 333 ccc.333 > ddd 444 ddd.444 > > > How can I do this > ??? > > Thanks > Alberto > > -- > View this message in context: > http://r.789695.n4.nabble.com/Concat-two-rows-tp3064998p3064998.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

