Convert string (character) to numeric



examples/basics/convert_string_to_numeric.R
x = "2"
class(x)           "character"

y = as.numeric(x)
class(y)           "numeric"