Re: [Rd] Nested tracing with custom callback

2016-07-13 Thread Evan James Patterson
Hi Jeroen, That was exactly what I was looking for. Thanks! Evan From: jeroeno...@gmail.com on behalf of Jeroen Ooms Sent: Wednesday, July 13, 2016 4:04 AM To: Evan James Patterson Cc: r-devel@r-project.org Subject: Re: [Rd] Nested tracing with custom callback   On Wed, Jul 13, 2016 at 5:

Re: [Rd] Nested tracing with custom callback

2016-07-13 Thread Jeroen Ooms
On Wed, Jul 13, 2016 at 5:20 AM, Evan James Patterson wrote: > > 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. Maybe you can adapt from the covr package:

Re: [Rd] [R] Forking and adapting an R package

2016-07-13 Thread timo
> Duncan Murdoch hat am 12. Juli 2016 um 19:38 > geschrieben: > > On 12/07/2016 7:28 AM, t...@timogrossenbacher.ch wrote: > > Hello. > > > > I'm trying to adapt the package “hexbin” to suit my needs. This is the first > > time I do this. I've read a bit through Hadley's “R packages”, but now I'm

[Rd] Nested tracing with custom callback

2016-07-13 Thread Evan James Patterson
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` fu