Automatic Remove Duplicates In R