[R] exit codes for Rcmd.exe under Windows

Duncan Murdoch murdoch at stats.uwo.ca
Sun Mar 12 22:05:06 CET 2006


On 3/10/2006 6:29 PM, Richard Evans wrote:
> Hello,
> 
> I know i'm being lazy, but does anyone know what the exit codes mean for
> Rcmd.exe under windows?
> 
> I'm getting 1's and 2's.

See https://svn.r-project.org/R/trunk/src/gnuwin32/front-ends/rcmdfn.c. 
  The exit code should be the return value from the rcmdfn() function. 
The return value 1 looks ambiguous; other values other than 0 appear to 
correspond to error messages that should have been printed.  0 means 
everything was fine.

Duncan Murdoch




More information about the R-help mailing list