Re: [Rd] question about ... passed to two different functions

2009-09-08 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Charles Geyer Sent: Monday, September 07, 2009 1:39 PM To: r-devel@r-project.org Subject: Re: [Rd] question about ... passed to two different functions Many thanks to those

Re: [Rd] question about ... passed to two different functions

2009-09-07 Thread Charles Geyer
Many thanks to those (Martin Morgan, Duncan Murdoch) who tried to straighten me out on ... arguments. It didn't work until I accidentally made two examples I thought were the same but one worked and the other didn't. Finally I achieved enlightenment. The following section has been added to the

[Rd] question about ... passed to two different functions

2009-09-06 Thread Charles Geyer
I have hit a problem with the design of the mcmc package I can't figure out, possibly because I don't really understand the R function call mechanism. The function metrop in the mcmc package has a ... argument that it passes to one or two user-supplied functions, which are other arguments to

Re: [Rd] question about ... passed to two different functions

2009-09-06 Thread Duncan Murdoch
On 06/09/2009 1:50 PM, Charles Geyer wrote: I have hit a problem with the design of the mcmc package I can't figure out, possibly because I don't really understand the R function call mechanism. The function metrop in the mcmc package has a ... argument that it passes to one or two