[R] Manipulating the "..." args.

David Keegan david.keegan at shenick.com
Fri Feb 1 12:00:15 CET 2008


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 the contents of "..." for
in-place modification?

I know I can use args <- list(...), but presumably that
takes a copy. Unless there is a way to pass the list
as "..." in the call to bar?

Regards,
David.
-- 
[David Keegan david.keegan at shenick.com 353 1 2710818]



More information about the R-help mailing list