search for: r_qsbart

Displaying 1 result from an estimated 1 matches for "r_qsbart".

Did you mean: qsbart
2007 Mar 28
2
Suggestion for memory optimization and as.double() with friends
...0 9.4 Vcells 10103779 77.1 12130608 92.6 10104223 77.1 What's the catch? The reason why I bring it up, is because many (most?) methods are using as.double() etc "just in case" when passing arguments to .Call(), .Fortran() etc, e.g. stats::smooth.spline(): fit <- .Fortran(R_qsbart, as.double(penalty), as.double(dofoff), x = as.double(xbar), y = as.double(ybar), w = as.double(wbar), <etc>) Your memory usage is peaking in the actual call and the garbage collector cannot clean it up until after the call. This seems to be waste of memory, especially when the objec...