search for: epatt

Displaying 3 results from an estimated 3 matches for "epatt".

Did you mean: epate
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
2018 Jan 03
3
Coping with non-standard evaluation in R program analysis
Hello R experts, I plan to develop a tool for dynamic analysis of R programs. I would like to trace function calls at runtime, capturing argument and return values. Following a suggestion made some time ago on this list, my high-level implementation strategy is to rewrite the AST, augmenting call expressions with pre-call and post-call shims to capture the arguments and return value,
2018 Jan 04
0
Coping with non-standard evaluation in R program analysis
...ail.com> wrote: > > For 2), it is not exposed in R's standard library but it is exposed in > the Rinternals API. A promise that is forced in normal evaluation will > have PRENV set to NULL. > > Peter > > On Tue, Jan 2, 2018 at 4:19 PM, Evan James Patterson > <epatters at stanford.edu> wrote: >> Hello R experts, >> >> >> I plan to develop a tool for dynamic analysis of R programs. I would like to trace function calls at runtime, capturing argument and return values. Following a suggestion made some time ago on this list, my high-le...