Huan - Look at the function code for order(). To show the function definition, type just order at the command line (no quotes, no parentheses). This example is what I found most useful when I had a similar question. The green book is also useful.
- tom blackwell - u michigan medical school - ann arbor - On Tue, 16 Sep 2003 [EMAIL PROTECTED] wrote: > Dear R users, > > I want to retrieve "..." argument values within a function. > Here is a small exmaple: > > myfunc <- function(x, ...) > { > if (hasArg(ylim)) a <- ylim > plot(x, ...) > } > > I need to retrieve values of "ylim" (if it is defined when > function is called) for later use in the function. Can anybody > give me some hint? Thanks a lot. > Huan ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help