Re: [Rd] Changing "..." inside a function: impossible? desirable?

2002-12-17 Thread Martin Maechler
> "Luke" == Luke Tierney <[EMAIL PROTECTED]> > on Tue, 17 Dec 2002 15:12:40 -0600 (CST) writes: Luke> On Tue, 17 Dec 2002, Martin Maechler wrote: >> It's clear that some things in "..." can be passed to >> title() and some to axis(), etc. Of course the above is >> rea

RE: [Rd] Changing "..." inside a function: impossible? desirable?

2002-12-17 Thread Tony Plate
Another way of enabling more vesatile dot-args would be to allow an ordinary list to be used as "dotargs", e.g., the following three would be equivalent (except for issues around lazy evaluation): # V1: current simple passing of dotargs function(x, ...) { f(x, ...) } # V2: allow manipulation

RE: [Rd] Changing "..." inside a function: impossible? desirable?

2002-12-17 Thread Warnes, Gregory R
I agree that it would be useful to be able to manipulate the contents of <...>. Perhaps syntax like: dots <- dotargs() # equivalent to dots <- list(...) val1 <- dotargs('arg1') to extract the contents of <...> and dotargs('arg1') <- val1 to modifiy the argument 'a

Re: [Rd] Changing "..." inside a function: impossible? desirable?

2002-12-17 Thread Luke Tierney
On Tue, 17 Dec 2002, Martin Maechler wrote: > > It's clear that some things in "..." can be passed to title() and > some to axis(), etc. > Of course the above is really silly, but I have a situation > where I'd like to see if something, say, `myarg' is part of "..." > {piece of cake easy, see b

[Rd] Changing "..." inside a function: impossible? desirable?

2002-12-17 Thread Martin Maechler
This is was something like a request for your comments, thoughts on the topic... Many of you will know that the "..." (aka \dots) argument is very useful for passing ``further graphical parameters'', but can be a pain when itself is passed to too many plotting functions inside your own function.