Skip to content
Prev 59925 / 398502 Next

Arguments matching

I just precise my problem (and correct the subject).

Is there a way to obtain a list where each element has the name of the 
argument (as interpreted by R). The problem with my approach is that if the 
user do not type the name of the argument, this element of the list 
(returned by as.list(as.call(appel1$callf))) has no name.
I suppose that a solution could be obtained using formals, match.args... 
but I did not find it.

Thanks
At 16:30 26/11/2004, Stephane DRAY wrote:
St??phane DRAY
-------------------------------------------------------------------------------------------------- 

D??partement des Sciences Biologiques
Universit?? de Montr??al, C.P. 6128, succursale centre-ville
Montr??al, Qu??bec H3C 3J7, Canada

Tel : (514) 343-6111 poste 1233         Fax : (514) 343-2293
E-mail : stephane.dray at umontreal.ca
-------------------------------------------------------------------------------------------------- 

Web                                          http://www.steph280.freesurf.fr/