Re: [R] pass "..." to multiple sub-functions

2009-10-01 Thread baptiste auguie
2009/10/1 Peter Ruckdeschel : > > removed <- c("lty",params.fun1) > ## I assume you do not want to pass on argument "lty"... > dots.remaining <- cl[-1] ### remove the function name > dots.remaining <- dots.remaining[! names(dots.remaining) > %in% removed] > > Be

Re: [R] pass "..." to multiple sub-functions

2009-10-01 Thread Peter Ruckdeschel
Dear Baptiste, > I know I have seen this discussed before but I haven't been successful > in searching for "ellipsis", "dots", "..." in the archives. I would > like to filter "..." arguments according to their name, and dispatch > them to two sub-functions, say fun1 and fun2. I looked at lm() but

[R] pass "..." to multiple sub-functions

2009-10-01 Thread baptiste auguie
Dear list, I know I have seen this discussed before but I haven't been successful in searching for "ellipsis", "dots", "..." in the archives. I would like to filter "..." arguments according to their name, and dispatch them to two sub-functions, say fun1 and fun2. I looked at lm() but it seemed mo