We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Commit 2706 segfaults rbindlist when used with idcol argument.
rbindlist
idcol
require(data.table) dt <- setDT(lapply(1:11, function(x) sample(letters, 1e4L, TRUE))) ll <- lapply(1:3000, function(x) { if (runif(1) > 0.5) data.table() else dt[sample(1000L)] }) # works fine for (i in 1:50) { ans1 <- rbindlist(ll) } # segfaults for (i in 1:50) { ans2 <- rbindlist(ll, idcol="id") }
The current CRAN version segfaults. Narrowed it down to commit 2706.
The text was updated successfully, but these errors were encountered:
Here is an example which is easier to reproduce:
require(data.table) x <- list(list(a = 1), list(), list(a = 2)) rbindlist(x, idcol = "id")
This is fixed with #2077, but I'm not sure where to put the test.
Sorry, something went wrong.
d250ed5
Test added for the rbindlist segfault that @mllg fixed - many thanks, #…
03ee346
…2019
No branches or pull requests
Commit 2706 segfaults
rbindlist
when used withidcol
argument.The current CRAN version segfaults. Narrowed it down to commit 2706.
The text was updated successfully, but these errors were encountered: