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

From: David Keegan <david.keegan_at_shenick.com>
Date: Fri, 1 Feb 2008 11:00:15 +0000


{ # Need to remove bad characters from string arguments "..."

# here.

# Pass on the modified string arguments.

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?


[David Keegan david.keegan_at_shenick.com 353 1 2710818]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 01 Feb 2008 - 11:22:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Feb 2008 - 11:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive