I\'ve tried:
i <- as.numeric(as.character(Impress))
i <- as.numeric(as.character(levels(Impress)))
Because the data has commas, R cannot convert it to a numeric. You have to remove the commas with sub() first and then convert:
sub()
i <- as.numeric(gsub(",", "", as.character(impress)))