I have a character:
character
x <- 'c(1, 2, 3)'
I'm trying to convert it to a vector in one line using the eval function:
vector
eval
print(class(eval(x)))
but the result is still a character:
[1] "character"