Skip to content
Prev 165168 / 398506 Next

how to manipulate ... within a function

On 18/12/2008 7:19 PM, Dan Kelley wrote:
You use the do.call() function to construct the call.  The first arg is 
what to call, the second is a list containing the args to pass.  Since 
you've got both stuff and dots to pass, you concatenate them into one 
big list:

do.call(plot, c(list(stuff), dots))

Duncan Murdoch