I tried to do using merge, I think now it works (anyway it is your worth), I wrote:
df1<-read.csv("df1.csv",head=T) attach(df1) df2<-read.csv("df2.csv",head=T) attach(df2) join<-merge(df1,df2,by.x="name",by.y="name") Is it correct? Coz I'm very frightened to lose datas or make mistakes -- View this message in context: http://r.789695.n4.nabble.com/Interweaving-of-two-datasets-tp4608505p4624852.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.