[R] dienice for R
Patrick Burns
pburns at pburns.seanet.com
Sat Aug 8 20:58:53 CEST 2009
Dirk Eddelbuettel wrote:
> On 8 August 2009 at 09:12, ferreirafm wrote:
> | hi,
> | Does anybody know if there is a dienice python equivalent command in R??
> | The python dienice command just finishes the program when issued.
> | I want do something like: if (test) fails so dienice.
>
> Try
>
> dienice <- function() q("no")
I think there is some fraction of the population
that would think the above function would be
'dieNOTnice' and would have:
dienice <- function() q("yes")
Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")
>
> along with
>
> if ( ! someTestResult ) dienice()
>
> and see how it goes.
>
> Dirk
>
More information about the R-help
mailing list