I guess this is a feature > c(as.factor(2),as.factor(3)) [1] 1 1 But is there a way to turn off the feature and return the following? [1] 2 3 Thanks for any pointer. Chong Gu