去除重复行duplicated df2<-df1[!duplicated(df1[,1], fromLast=TRUE), ] fromLast就是保留重复行中最后一行 R 2023-10-19 57 点赞 0 评论 86 浏览