Get the names of the arguments to a function
argNames(x)
x
A function or string naming a function.
A vector of the names of the arguments to a function.
argNames("readLines")