Skip to content
Back to formatted view

Raw Message

Message-ID: <20050901171147.35CAE53586@mail.rsma.frb.gov>
Date: 2005-09-01T17:11:47Z
From: Jeffrey J. Hallman
Subject: access to on.exit expressions in parent frames?

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.

Jeff