On Wed, 17 Sep 2003, Martin Maechler wrote:

>
> How can you write (quite short!) R code such that
> typing
>       "Q"
>
> -- without any  "()" -- will quit R (without asking about saving).
>
> [But you shouldn't really keep that code active in your standard R session
>  because it would be too easy to accidentally shut down R !]
>
> For the advanced ones:
> My shortest solution uses 51 characters of R code, can you beat that?
>

Easily

Q<-delay(q("yes"))

        -thomas

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to