I'm not exactly sure what you mean by "names." Does the following meet your needs?
f <- function(...)names(list(...)) > f(a=2,b=3) [1] "a" "b" > f(a=2,3) [1] "a" "" If not, a reproducible example of what you want might be helpful. Cheers, Bert On Fri, Oct 18, 2013 at 9:05 AM, Dan Abner <dan.abne...@gmail.com> wrote: > Hi all, > > I am using the ... argument to parmeterize a user define fn to accept > multiple input objects. I subsquently save all these data as a list. > Question: what is the best way to recover or extract the original object > names that were fed to the fn? > > Thanks, > > Dan > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.