Dear all, I would like to know if there is an easy to transform a vector of strings to a vector of integers. Ex: ("ab","ab","bb","cat","cat","ab") will be (1, 1, 2, 3, 3, 1) Thx, Naira -- View this message in context: http://www.nabble.com/From-strings-to-numbers-tp17315179p17315179.html Sent from the R help mailing list archive at Nabble.com.