SyntaxFix
Write A Post
Hire A Developer
Questions
In my case function eval() works very good. Below I generate 10 variables and assign them 10 values.
lhs <- rnorm(10) rhs <- paste("perf.a", 1:10, "<-", lhs, sep="") eval(parse(text=rhs))