[R] Dealing with ...
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Nov 8 22:44:45 CET 2003
On Sun, 9 Nov 2003, Hadley Wickham wrote:
> From within a function, how can I extract the individual arguments that
> make up ...?
dots <- list(...)
is the most common paradigm. You can also use match.call(expand=TRUE)
> I'm sure this has been discussed on here before but ... does not get
> indexed. Any suggestions as to what I should search for would be
> equally welcome.
Well, that's why there are books about S Programming ... (p.46 gives a
more sophisticated version).
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