3 ms·
> If you're learning R, learn to use dplyr for data manipulation I had been learning data.table, but I really like dplyr's % operator and the compositional fun
by craigching 12y ago
> If you're learning R, learn to use dplyr for data manipulation
I had been learning data.table, but I really like dplyr's % operator and the compositional functions better. I think I'm going to make the move to dplyr.
- hadley 12y agoFWIW The performance difference is insignificant unless your working with >>10 of millions of rows.
- craigching 12y agoI thought dplyr (note, not plyr, dplyr is the next iteration of plyr implemented mostly in native code) was pretty much as fast as data.table.
- arun_sriniv 12y agoWe're in the process of adding more detailed vignettes illustrating more clearly the philosophy behind data.table's `i, j, by`. Should make things lot easier for beginners - https://github.com/Rdatatable/data.table/issues/944 https://github.com/Rdatatable/data.table/issues/944 data.table is not just fast, but is also more memory efficient - we want to highlight in the vignettes as well. And timings are quite relevant even on 10 million rows: https://gist.github.com/arunsrinivasan/db6e1ce05227f120a2c9 https://gist.github.com/arunsrinivasan/db6e1ce05227f120a2c9 For much larger data, check the project page: https://github.com/Rdatatable/data.table/wiki/Benchmarks-%3A-Grouping https://github.com/Rdatatable/data.table/wiki/Benchmarks-%3A...