How to convert non numeric data to numeric data in R code example Example: to numeric in r as.numeric("12.3") # 12.3