search for: how_it_works

Displaying 1 result from an estimated 1 matches for "how_it_works".

2016 Jul 13
2
Nested tracing with custom callback
Hi all, I would like to install a trace function that gets executed whenever *any* R function is called. In Python, for example, this functionality is provided by the `sys.settrace` function. I am not aware of any public interface, at the R or C level, that can accomplish this. The `trace` function is inadequate because it does not support nested functions. The `Rprof` function provides only