john_heumann@agilent.com
2001-Oct-19  23:02 UTC
[Rd] Canceling close behaves incorrectly (PR#1135)
Full_Name: John M. Heumann
Version: 1.3.1
OS: NT4 SP 6
Submission from: (NULL) (192.25.140.108)
Picture 2 scenarios:
   (I) R command window sitting at prompt (no program executing)
      a) Do close action: "X" icon, or Alt-F4, or right click on RGui
icon
         and select close.
      b) "Save workspace image" dialog appears.
      c) Press cancel. Program does not exit. This is all correct.
   (II) As in (I) but with a program running in the command window
        (e.g. 'source "foo.r"').
        Perform a), b), c) as above. Once again, RGui does not exit
        (which is correct). However the running program will be terminated
        as if you'd hit Escape, which is not correct. I suspect the
"Esc/Cancel"
        message is being passed on up to RGui, rather than trapped and 
        handled by the dialog.
        
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._