Side-by-side syntax comparison of dplyr and data.table — In this post, I compare the syntax of R’s two most powerful data manipulation libraries: dplyr and data.table. I am not here to advocate any package. However, while working on a project with unusually large datasets, my preferred package became data.table, for speed and memory efficiency. I took a legacy…