I am trying to call a function with a given string of the function name.
E.g.
print(funcList) [[1]] `*` [[2]] sin
works:
you could also use match.fun
match.fun
> functionlist <- list("*","sin") > f <- match.fun(functionlist[[1]]) > f(5,6) [1] 30