[R] exit function in R?

Marc Schwartz marc_schwartz at comcast.net
Mon Jun 2 15:30:41 CEST 2008


on 06/02/2008 08:18 AM Federico Abascal wrote:
> Hi,
> This is likely an stupid question, but I cannot find the solution.
> I am searching for an "exit" function, to end the execution of an R
> script if some condition is not filled.
> Any clue?
> 
> Thank you in advance!
> Federico

See ?stop and ?stopifnot

HTH,

Marc Schwartz



More information about the R-help mailing list