R distinct values in dataframe. .