R-alpha: stop() in batch mode.

Thomas Lumley thomas@biostat.washington.edu
Wed, 14 May 1997 07:57:08 -0700 (PDT)


The batch mode stack imbalances appear to be confined to error reporting.
In particular the stop() command seems to trigger them.  

Solaris-gorn% more break.R
stop("Breaks R")

Solaris-gorn% ~/R49 <break.R 

R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.49 Beta (April 23, 1997)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "license()" for details.

[Previously saved workspace restored]

> stop("Breaks R")
Error: Breaks R
Execution halted
Error: stack imbalance in "unprotect"
Execution halted
stack imbalance in stop, 2 then 0
Error: stack imbalance in "unprotect"
Execution halted
Error: stack imbalance in "unprotect"
Execution halted
stop("Breaks R")
> 


Thomas Lumley
------------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-