[R] Manipulating the ... args.

2008-02-01 Thread David Keegan
Hi, foo-x(...) { # Need to remove bad characters from string arguments ... # here. # Pass on the modified string arguments. bar(...) } I need to modify string arguments passed in to function foo as ... and then pass the modified arguments on to function bar. Is there a way to access

Re: [R] Manipulating the ... args.

2008-02-01 Thread S Ellison
I'm no guru, but can you not use do.call here? i.e. does foo-function(...) #Not x(...) { arglist-list(...) #remove bad characters from arglist here. # then do.call(bar,arglist) } do what you want? David Keegan [EMAIL PROTECTED] 01/02/2008 11:00:15 Hi, foo-x(...) { # Need