[R] colname of ... arguments

ManInMoon xmoon2000 at googlemail.com
Wed Mar 10 23:21:47 CET 2010


I have writtn a function where I pass a variable number of arguments.

I They are vectors and I can manipulate them, but I need to get hold of the
name for a legend.

niceplot<-function(...) {
   parms=list(...)

  for (x in parms) {
    DoSomethingWith(x)
  }

}

BUT how how can I get something like namestring(...) of nameofvector(x)?
-- 
View this message in context: http://n4.nabble.com/colname-of-arguments-tp1588146p1588146.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list