search for: f0c

Displaying 5 results from an estimated 5 matches for "f0c".

Did you mean: f0
2019 Apr 01
0
stopifnot -- eval(*) inside for()
...> library(compiler) > enableJIT(0) > f0 <- function(x) { x ; x^2 } ; f0(is.numeric(y)) Error in f0(is.numeric(y)) (from #1) : object 'y' not found > (function(x) { x ; x^2 })(is.numeric(y)) Error in (function(x) { (from #1) : object 'y' not found > f0c <- cmpfun(f0) ; f0c(is.numeric(y)) so by default, not only the error message but the originating call is shown as well. However, here's your revealing examples: > f <- function(x) for (i in 1) {x; eval(expression(i))} > f(is.numeric(y)) > # Error: object 'y' not...
2019 Apr 03
0
stopifnot -- eval(*) inside for()
...> library(compiler) > enableJIT(0) > f0 <- function(x) { x ; x^2 } ; f0(is.numeric(y)) Error in f0(is.numeric(y)) (from #1) : object 'y' not found > (function(x) { x ; x^2 })(is.numeric(y)) Error in (function(x) { (from #1) : object 'y' not found > f0c <- cmpfun(f0) ; f0c(is.numeric(y)) so by default, not only the error message but the originating call is shown as well. However, here's your revealing examples: > f <- function(x) for (i in 1) {x; eval(expression(i))} > f(is.numeric(y)) > # Error: object 'y' not...
2019 Apr 01
1
[External] Re: stopifnot -- eval(*) inside for()
...t; > enableJIT(0) > > > f0 <- function(x) { x ; x^2 } ; f0(is.numeric(y)) > Error in f0(is.numeric(y)) (from #1) : object 'y' not found > > (function(x) { x ; x^2 })(is.numeric(y)) > Error in (function(x) { (from #1) : object 'y' not found > > f0c <- cmpfun(f0) ; f0c(is.numeric(y)) > > so by default, not only the error message but the originating > call is shown as well. > > However, here's your revealing examples: > > > f <- function(x) for (i in 1) {x; eval(expression(i))} > > f(is.numeric(y)) >...
2019 Mar 31
3
stopifnot
Ah, with R 3.5.0 or R 3.4.2, but not with R 3.3.1, 'eval' inside 'for' makes compiled version behave like non-compiled version. options(error = expression(NULL)) library(compiler) enableJIT(0) f <- function(x) for (i in 1) {x; eval(expression(i))} f(is.numeric(y)) # Error: object 'y' not found fc <- cmpfun(f) fc(is.numeric(y)) # Error: object 'y' not found
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking