8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current snippet crashes my r session when it gets to the last statement
library("data.table") > sessionInfo() R version 3.1.1 (2014-07-10) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United Kingdom.1252 [2] LC_CTYPE=English_United Kingdom.1252 [3] LC_MONETARY=English_United Kingdom.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods [7] base other attached packages: [1] data.table_1.9.3 loaded via a namespace (and not attached): [1] plyr_1.8.1 Rcpp_0.11.2 reshape2_1.4 stringr_0.6.2 [5] tools_3.1.1 dt <- data.table(id = c("A", "A", "B", "B", "C"), start = structure(c(12894, 15706, 14153, 14533, 14539), class = "Date"), end = structure(c(15705, 15763, 14532, 14578, NA_real_), class = "Date"), key = "id") sample <- c("A", "B") dt[sample, temp := c(start[-1L] - 1L, NA_real_), by = .EACHI]
Can you reproduce it?
The text was updated successfully, but these errors were encountered:
Thanks a bunch for the minimal example! Reproducible. Added to 1.9.4 milestone.
Sorry, something went wrong.
my pleasure! Just to be precise, it also happens without any assignment.
dt[sample, c(start[-1L] - 1L, NA_real_), by = .EACHI]
Thanks again, Michele. Reproducible as well.
dadb4b9
arunsrinivasan
No branches or pull requests
The current snippet crashes my r session when it gets to the last statement
Can you reproduce it?
The text was updated successfully, but these errors were encountered: