[R] list of exit codes?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Oct 23 08:38:43 CEST 2002


On Tue, 22 Oct 2002, Hilmar M. Carders wrote:

>
> I was just running some regressions and R died with an exit code of 137.
> I assume the problem has something to do with memory usage since I was
> using some fairly large data sets and the Linux system I am on was
> getting real slow just before the crash.
>
> This prompted me to go looking for a list of R exit codes, but a search
> yielded nothing.  Is there such a list?

Not that I am aware of.  However, the only exit codes that I am aware that
R itself produces are via R_CleanUp, and I can see that called with
0, 1 and 2.

0 is a normal exit
1 is an error exit in non-interactive mode
2 is `suicide', a catastrophic error (or termination by SIGUSR1)

I think error codes like 137 come from your C run-time system.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list