[Rd] example(ask = .) - default ?

Martin Maechler maechler at stat.math.ethz.ch
Mon May 1 16:07:08 CEST 2006

Diverting to R-devel.

After looking at more use cases, etc, I think I would like to
the change the default of 'ask' 
from	   ask = dev.interactive(orNone = TRUE)   # as of two hours ago 
to	   ask = echo && dev.interactive(orNone = TRUE)

since all the cases I've looked which specify  'echo = FALSE'
would also want 'ask = FALSE'.


>>>>> "Martin" == Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>     on Mon, 1 May 2006 14:11:59 +0200 writes:

>>>>> "FrPi" == François Pinard <pinard at iro.umontreal.ca>
>>>>>     on Thu, 27 Apr 2006 17:15:29 -0400 writes:

    FrPi> [Romain Francois]
    >>> [...] it would be useful to add an option 'ask' in
    >>> 'example', maybe with a default to TRUE in interactive
    >>> mode

    FrPi> Seconded.  `example(...)' would be more friendly for
    FrPi> the average use.

    Martin> I've added it now to R-devel.  The default is 'ask =
    Martin> dev.interactive(orNone = TRUE)' where
    Martin> dev.interactive() has also been extended with the
    Martin> 'orNone' argument.

    Martin> The not-entirely satisfying aspect is that it
    Martin> currently does apply to traditional graphics only as
    Martin> opposed to grid-based graphics.

    Martin> Martin

More information about the R-devel mailing list