Related: Strings as variable references in R Possibly related: Concatenate expressions to subset a dataframe
I\'ve simplified the question per the comment
You found one answer, i.e. eval(parse()) . You can also investigate do.call() which is often simpler to implement. Keep in mind the useful as.name() tool as well, for converting strings to variable names.
eval(parse())
do.call()
as.name()