From maechler at stat.math.ethz.ch  Mon May  1 16:07:08 2006
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Mon, 1 May 2006 16:07:08 +0200
Subject: [Rd] example(ask = .) - default ?
In-Reply-To: <17493.64271.123188.584580@stat.math.ethz.ch>
References: <s450ebc4.044@MC-GWDOM2.newcastle.edu.au>
	<38b9f0350604270427k162d1f42r4baeeb460aae6622@mail.gmail.com>
	<17488.60426.120454.694934@stat.math.ethz.ch>
	<4451317E.7000202@free.fr>
	<20060427211529.GA14791@alcyon.progiciels-bpi.ca>
	<17493.64271.123188.584580@stat.math.ethz.ch>
Message-ID: <17494.5644.615623.261489@stat.math.ethz.ch>

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'.

Comments?

>>>>> "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



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