I have code that generates a string that i want to use as a variable name later in my script. Is there a function, or easy way to accomplish this? I know this is such base question... any help is still very much appreciated.
Var1 <- "NewVarName"
# Need to transform the character string inside Var1 into this new variable
name
NewVarName <- 1 + 2