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
It seems that data.table does not support long vectors at the moment. When I create a data.table with long vectors, it should trigger an error at creation rather than when I use it somewhere else.
Error in vapply(x, length, 0L) : values must be type 'integer',
but FUN(X[[1]]) result is type 'double'
If a user does not keep in mind that data.table does not support long vectors yet or R uses double to represent the length of a long vector instead of an integer, the error message can be very confusing.
The text was updated successfully, but these errors were encountered:
It seems that data.table does not support long vectors at the moment. When I create a data.table with long vectors, it should trigger an error at creation rather than when I use it somewhere else.
A less obvious example is
rbindlist
several data.tables each does not have long vectors but together exceeds max integer.which will end up in an error:
If a user does not keep in mind that data.table does not support long vectors yet or R uses double to represent the length of a long vector instead of an integer, the error message can be very confusing.
The text was updated successfully, but these errors were encountered: