[R] how to do a data.table merge operation
I've been digging through the documentation for the data.table package (a replacement for data.frame that's much more efficient for certain operations), including Josh Reich's presentation on SQL and data.table at the NYC R Meetup (pdf), but can't figure this totally trivial operation out. > x <- DT(a=1:3, b=2:4, key='a') > x a b [...