This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/nargs.html
nargs {base}R Documentation

The Number of Arguments to a Function

Description

When used inside a function body, nargs returns the number of arguments supplied to that function.

Usage

nargs()

[Package base version 0.60 ]