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
When I dcast a data.table that contains an int64 column, it fills in 9218868437227407266 for any missing values instead of the usual NA.
This is related to Issues #488, #1385, and #3723, but none of those fixes have resolved this error from arising when using dcast(). This has been asked on StackOverflow here (no MWE and no response) and here where the latter answer simply proposed a workaround, but should have been filed as an issue.
library(data.table)
apple <- fread("id, time, y
a, 1, 12345678901234
b, 1, 70
b, 2, 20")
dcast(apple, id ~ time, value.var = "y")
id 1 2
1: a 12345678901234 9218868437227407266
2: b 70 20
#Output of sessionInfo()
R version 4.0.1 (2020-06-06)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04 LTS
When I dcast a data.table that contains an int64 column, it fills in 9218868437227407266 for any missing values instead of the usual NA.
This is related to Issues #488, #1385, and #3723, but none of those fixes have resolved this error from arising when using
dcast()
. This has been asked on StackOverflow here (no MWE and no response) and here where the latter answer simply proposed a workaround, but should have been filed as an issue.#
Minimal reproducible example
#
Output of sessionInfo()
The text was updated successfully, but these errors were encountered: