TITLE(formals @@ Access to the Formal Arguments)
USAGE(
formals(fun=sys.function(sys.parent()))
)
ALIAS(formals)
VALUE(
If LANG(fun) is a function then the formal argument list to that
function is returned.
If LANG(fun) is a character string then the function with that name
is found and used.
If LANG(fun) is not specified then the function calling LANG(formals)
is used.
PARA
It is currently not possible to set the formals of a function.
)
SEEALSO(
LANG(LINK(args))
)
EXAMPLES(
length(formals(lm))      # the number of formal arguments
names(formals(boxplot))  # formal arguments names
)
