Skip to content
Prev 15048 / 63424 Next

sys.on.exit not working (PR#7665)

It is working as documented: there is no on.exit set for str, is there?

      'sys.on.exit()' retrieves the expression stored for use by
      'on.exit' in the function currently being evaluated. (Note that
                                ^^^^^^^^^^^^^^^^^^^^^^^^^
      this differs from S, which returns a list of expressions for the
      current frame and its parents.)

I see you have looked at PR#269, but did not notice the crucial 
difference: here the current function is str (it is evaluating its 
arguments), not soe.test.
On Mon, 7 Feb 2005 mark.bravington@csiro.au wrote:

            
Please read the FAQ: we don't want R-bugs clogged up with `doesn't seem to 
be working' reports, and we do say so.
One difference being that PR#269 was a bug, and this is not.