implementation of R's 'do.call'
do_call <- function(f, args){ my_call_list <- c(list(as.name(f)), args) my_call <- as.call(my_call_list) eval(my_call) }