List distinct values in a vector in R List distinct values in a vector in R r r