Should I use mget(), .. or with=FALSE to select columns of a data.table?
问题 There are multiple ways to select columns of data.table by using a variable holding the desired column names ( with=FALSE , .. , mget , ...). Is there a consensus which to use (when)? Is one more data.table -y than the others? I could come up with the following arguments: with=FALSE and .. are almost equally fast, while mget is slower .. can't select concatenated column names "on the fly" ( EDIT : current CRAN version 1.12.8 definitely can, I was using an old version, which could not, so this