[R] dienice for R

Don MacQueen macq at llnl.gov
Sun Aug 9 00:02:11 CEST 2009


In which case, what's wrong with

   if ( !someTestResult ) q('no')

(or 'yes' if one prefers)
  -Don


At 7:58 PM +0100 8/8/09, Patrick Burns wrote:
>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
>>
>
>______________________________________________
>R-help at r-project.org mailing list
>https://*stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://*www.*R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062




More information about the R-help mailing list