You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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=FALSEj 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
The text was updated successfully, but these errors were encountered:
Henrik-P
changed the title
Documentation: more explicit that j can be logical when with=FALSE
Documentation: more explicit that j can be logical (when with=FALSE)
Jan 5, 2017
Thank you for the heads-up! Yes, I was aware of that. It was actually after reading the NEWS "Changes in v1.9.8", section 3 about with= that I started to play around with simple (and sometimes veery stupid...) examples. I then stumbled over the error message, which led me to think about logical j and how it was described in the docs. Cheers.
I stumbled over one of the highly informative error messages in
data.table
:However, the fact that
j
can be of typelogical
is not explicitly described in?data.table
.From
with
:From
j
:The text was updated successfully, but these errors were encountered: