Skip to content
Prev 62195 / 63424 Next

[External] Get list of active calling handlers?

On Tue, 6 Feb 2024, Duncan Murdoch wrote:

            
There is not. The internal stack is not safe to allow to escape to the
R level.  It would be possible to write a reflection function to
provide some information, but it would be a fair bit of work to design
and I don't think would be of enough value to justify that.

The original SO question would be better addressed to
Posit/RStudio. Someone with enough motivation might also be able to
figure out an answer by looking at the source code at
https://github.com/rstudio/rstudio.

Best,

luke