[R] access to on.exit expressions in parent frames?

From: <jhallman_at_frb.gov>
Date: Fri 02 Sep 2005 - 03:11:47 EST

In R, sys.on.exit() retrieves the expression stored for use by 'on.exit' in the function currently being evaluated. In S, you get the list of expressions for the current frame and its parents. Is there any way I can do the same in R? If not, can this be added? Maybe 'sys.on.exit' could take a frame number or environment as an argument.


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 Received on Fri Sep 02 03:17:52 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:16:24 EST