[R] Getting the argument list within a function

Roger D. Peng rpeng at jhsph.edu
Tue Sep 14 16:58:44 CEST 2004


Ergh, yes, that's exactly it.  I didn't realize you could use it in 
that way.

Thanks,

-roger

Jeff Gentry wrote:
>>Is there a way of getting the argument list of a function from within 
>>that function?  For example, something like
> 
> 
> Would formals() work for you here?
> 
>




More information about the R-help mailing list