ivo welch wrote:
> the following diff to the shell script invoking R prints an error
> message if R terminates with an error code:
>
> 112c112,119
> <       exec sh "${R_HOME}/bin/Rcmd" "[EMAIL PROTECTED]" ;;
> ---
>   
>>       sh "${R_HOME}/bin/Rcmd" "[EMAIL PROTECTED]"
>>       rc="$?"
>>       if [ "$rc" -ne 0 ]; then
>>          shift ;
>>          echo "[EMAIL PROTECTED]: Error Return Code: $rc"
>>       fi
>>       exit $?
>>       ;;
>>     
This looks to me like a good suggestion, but I generally don't make 
modifications to platform-specific things on platforms I don't use, so 
I'd suggest posting this to R-devel or on the bug list as a wishlist 
item.  Otherwise it might get lost.


Duncan Murdoch

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to