Re: [R] Extracting a (*specific*) variable name from a list of function arguments (not "...")

2011-01-30 Thread Tal Galili
Uwe and Marc, Many thanks to both of you for the answers. BTW, I wanted it for handling this case (a single variable inside a data variable) in the boxplot wrapper I recently wrote: http://www.r-statistics.com/2011/01/how-to-label-all-the-outliers-in-a-boxplot/ With regards, Tal --

Re: [R] Extracting a (*specific*) variable name from a list of function arguments (not "...")

2011-01-30 Thread Marc Schwartz
On Jan 30, 2011, at 10:38 AM, Tal Galili wrote: > Hello all, > > I would like to extract the variable name passed into a specific argument of > a function. > Using match.call() will give me a list of arguments and what was passed into > them, but I couldn't find how to get a particular argument o

Re: [R] Extracting a (*specific*) variable name from a list of function arguments (not "...")

2011-01-30 Thread Uwe Ligges
On 30.01.2011 17:38, Tal Galili wrote: Hello all, I would like to extract the variable name passed into a specific argument of a function. Using match.call() will give me a list of arguments and what was passed into them, but I couldn't find how to get a particular argument out of it (at least

[R] Extracting a (*specific*) variable name from a list of function arguments (not "...")

2011-01-30 Thread Tal Galili
Hello all, I would like to extract the variable name passed into a specific argument of a function. Using match.call() will give me a list of arguments and what was passed into them, but I couldn't find how to get a particular argument out of it (at least without using some string manipulation).