From maechler at stat.math.ethz.ch  Tue May  2 08:42:17 2006
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Tue, 2 May 2006 08:42:17 +0200
Subject: [Rd] [R] plot cdf
In-Reply-To: <20060501215106.GA28517@alcyon.progiciels-bpi.ca>
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>
	<20060501215106.GA28517@alcyon.progiciels-bpi.ca>
Message-ID: <17494.65353.938757.623213@stat.math.ethz.ch>

>>>>> "FrPi" == Fran?ois Pinard <pinard at iro.umontreal.ca>
>>>>>     on Mon, 1 May 2006 17:51:06 -0400 writes:

    FrPi> [Martin Maechler]
    >> The default is 'ask = dev.interactive(orNone = TRUE)'
    >> where dev.interactive() has also been extended with the
    >> 'orNone' argument.

    FrPi> Thanks, Martin! :-) (As I'm not aware of the meaning
    FrPi> of this `orNone' argument, I cannot fully appreciate
    FrPi> yet the extent of your solution.)

    FrPi> `?dev.interactive' says:

    FrPi>    Test if an interactive graphics device is in use.

    FrPi> I'm not sure what is the meaning of "in use" in that
    FrPi> sentence.  An interactive device may be opened, while
    FrPi> not being current, so some may say that this device is
    FrPi> in use, others may say that it is not.  I'm not
    FrPi> English speaking, but yet, I would dare to suggest
    FrPi> either:

    FrPi>     Test if the current graphics device is interactive.

Thank you, Fran?ois, for the suggestion.  Yes, it's the above,
and I agree it's clearer than the current text.

The new possibility
    dev.interactive(orNull = TRUE)
also returns TRUE when there is no current device
*and* the default device is an interactive one.

    FrPi> or:

    FrPi>     Test if some opened interactive graphics device is
    FrPi> interactive.

    FrPi> rephrased in correct English if needed.

    FrPi> `ask' would ideally be TRUE if the _current_ device is
    FrPi> interactive.  If there is a used (opened) device which
    FrPi> is interactive, but the current device is not
    FrPi> interactive, it would then be nicer if `ask' was
    FrPi> FALSE.

indeed; and that's the case.
Martin

    FrPi> -- Fran?ois Pinard http://pinard.progiciels-bpi.ca



[Rd] [R] plot cdf
Martin Maechler