Displaying 2 results from an estimated 2 matches for "runforest".
Did you mean:
runfirst
2004 Jan 09
2
debugging strange segfault
...when running predict() in the randomForest package.
I asked for the data and code. The combination runs fine under WinXPPro,
but does give segfault on one of our Linux boxes running R (1.7.0 through
R-devel_2004-01-08) on Mandrake 9.0.
The predict.randomForest() function calls a C function "runforest" via
.C(..., DUP=FALSE, ...), which in turns calls a Fortran subroutine
"testreebag" within a for loop. The segfault seems to occur right after
finishing the runforest() function in C and returning to R. I inserted the
line:
Rprintf("Done!\n");
as the last line of the r...
2003 Apr 03
0
debugging question
Dear R-devel,
A user reported a strange problem with predict.randomForest in the
randomForest package yesterday, and I'm baffled by it. The code at the end
of the message produces the error. The problem is that, in
predict.randomForest, there's a .Fortran call to "runforest". One of the
arguments passed in is "countts", which is a vector of doubles. The error
occured because when the .Fortran call returned, that component of the
output is mysteriously turned into numeric(0)! I checked that vector inside
the Fortran code (dimensioned as a matrix), and...