R: How to use list elements like arguments in ellipsis?
问题 I'm not sure if I labelled my question correct, but I give it a shot: I want to use a package with a function which uses an ellipsis, func(...) . All my arguments of class My_Class are in a list. As I have quite a lot of arguments, I'd like to avoid func(arg1, arg2, arg3) . So ideally I'd like to do func( my_list ) . The problem is that the function looks like this function(...) { cl <- match.call(expand.dots = FALSE) names <- lapply(cl[[2]],as.character) ev <- parent.frame() classes <-