Displaying 1 result from an estimated 1 matches for "12130608".
2007 Mar 28
2
Suggestion for memory optimization and as.double() with friends
...d (Mb) gc trigger (Mb) max used (Mb)
Ncells 234019 6.3 467875 12.5 350000 9.4
Vcells 10103774 77.1 11476770 87.6 10104223 77.1
> x <- as.double(x)
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 234028 6.3 467875 12.5 350000 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.doubl...