args ought to check that its argument is a function: > max <- 3 > args(max) NULL e.g. > args <- function(name) { + name <- match.fun(name) + base::args(name) + } > args(max) function (..., na.rm = FALSE) NULL -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com