Skip to content
Prev 49931 / 63424 Next

alternatives to do.call() when namespace is attached but not loaded?

I was about to suggest something similar. The key is that the first arg to do.call is not necessarily a text string; it can be the actual function object. So something along the lines of 

name <- as.name("snaFunName")
f <- eval(bquote(sna::.(name)))
do.call(f, args)

should work too.