John MacKintosh takes us through what’s new in R’s data.table package:
The newest version of data.table has hit CRAN, and there are lots of great new features.
Among them, a
%notin%
function, a newlet
function that can be used instead of:=
( I wasn’t too fussed about this originally but have tried it a few times today and I may well adopt it – although I do like that:=
really stands out in my code when assigning / updating variables).
Read on for the big changes. H/T R-Bloggers.