Update RMDUP.r