DF1<-merge(DF1, lookup[,.(id, name)], by='id', all.x=TRUE, all.y=FALSE). I think the merge command is what you are looking for here, but you were missing ...
確定! 回上一頁