I stumbled over one of the highly informative error messages in data.table:
When with=FALSE, j-argument should be of type logical/character/integer indicating the columns to select.
However, the fact that j can be of type logical is not explicitly described in ?data.table.
From with:
When with=FALSE j is a character vector of column names, a numeric vector of column positions to select or of the form startcol:endcol
From j:
When with=FALSE, j can only be a vector of column names or positions to select
I stumbled over one of the highly informative error messages in
data.table:However, the fact that
jcan be of typelogicalis not explicitly described in?data.table.From
with:From
j: