SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to convert string to variable inside body of function, but you want to have variable global:
test <- function() { do.call("<<-",list("vartest","xxx")) } test() vartest [1] "xxx"