Displaying 2 results from an estimated 2 matches for "r71639".
Did you mean:
371639
2016 Nov 11
2
Frames in compiled functions
I noticed some problems that cropped in the latest versions of R-devel (2016-11-08 r71639 in my case) for one of my packages. I _think_ I have narrowed it down to the changes to what gets byte-compiled by default. The following example run illustrates the problem I'm having:
compiler::enableJIT(0)
fun <- function(x) local(as.list(parent.frame(2)))
fun(1)
## $x
## [1]...
2016 Nov 11
0
Frames in compiled functions
...fun(fun)(1)
## [[1]]
## (compiler::cmpfun(fun))(1)
##
## [[2]]
## (function() sys.calls())()
-Winston
On Fri, Nov 11, 2016 at 1:13 PM, brodie gaslam via R-devel <
r-devel at r-project.org> wrote:
> I noticed some problems that cropped in the latest versions of R-devel
> (2016-11-08 r71639 in my case) for one of my packages. I _think_ I have
> narrowed it down to the changes to what gets byte-compiled by default. The
> following example run illustrates the problem I'm having:
>
> compiler::enableJIT(0)
> fun <- function(x) local(as.list(parent.frame(2)))
&...