regression.get_string_to_R function

Convert the string into an R object