I have the following problem, I paste a character to form another character as follows:
paste0("SUMATOT", "VALORES", sep = "")
Now what I need is to convert that paste into a variable to which I can assign values, I used the get
function but it does not work:
paste0("SUMATOT", "VALORES", sep = "", get) <- c(1, 2, 3)
Launches the following error
Error in paste0("SUMATOT", gsub(" ", "", DATA[1]), sep = "", get) <- SUM :
target of assignment expands to non-language object
Thank you.