search for: 4617168

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

2014 Mar 17
1
Deep copy of factor levels?
...? This has come up when looking at the performance of rbind.fill (in the plyr package) with factors: https://github.com/hadley/plyr/issues/206 . Best regards Kirill > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 325977 17.5 1074393 57.4 10049951 536.8 Vcells 4617168 35.3 87439742 667.2 204862160 1563.0 > system.time(x <- factor(seq_len(1e4))) user system elapsed 0.008 0.000 0.007 > system.time(xx <- as.list(x)) user system elapsed 4.263 0.000 4.322 > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncel...