Try unique and paste. paste(unique(tes)[,1], unique(tes)[,2], sep = "") ----- A R learner. -- View this message in context: http://r.789695.n4.nabble.com/two-columns-into-one-tp2242516p2242658.html Sent from the R help mailing list archive at Nabble.com.