How do I partially bind/apply arguments to a function in R? This is how far I got, then I realized that this approach doesn't work... bind <- function(fun,...) { argNames <- names(formals(fun)) bindedArgs <- list(...) bindedNames <- names(bindedArgs) function(argNames[!argNames %in% bindedArgs]) { #TODO } } Thanks!