On 9 Nov 2003 at 10:29, Hadley Wickham wrote:

Does the following help?

> test <- function(...) {
+   return( list(...) )
+ }
> test(a=4, b=7, test=17)
$a
[1] 4

$b
[1] 7

$test
[1] 17

Kjetil Halvorsen


>  From within a function, how can I extract the individual arguments that 
> make up ...?
> 
> 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.
> 
> Thanks,
> 
> Hadley
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to