[R] How to get argument number
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Sep 1 07:43:25 CEST 2006
?formals
?nargs
depending if you mean the number of formal arguments or the number of
actual arguments.
On Thu, 31 Aug 2006, Lord Tyranus wrote:
> I create a function with R, I want to know how many argument number.
> Thanks in advance.
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list