search for: 234113

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

Did you mean: 234,13
2007 Mar 28
2
Suggestion for memory optimization and as.double() with friends
...% R --vanilla > x <- double(1e7) > gc() used (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 234113 6.3 467875 12.5 350000 9.4 Vcells 10103790 77.1 21354156 163.0 20103818 153.4 However, couldn't this easily be avoided by letting as.double() return the object as is if already a double? Example: % R --vanilla > as.double.double <- function(x, ...) x > x <- double(1e7...