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
Looking at the code for rbindlist, I think I found the problem:
vapply(mylist, NROW, 0L)
# 2 2 2
where we need 2 1 4. To get the latter, vapply(lapply(mylist, setDT), NROW, 0L) works, but alters the input. I'm sure you guys know a better way to do it.
On Wed, Nov 11, 2015 at 5:52 PM, franknarf1 [email protected]
wrote:
Looking at the code for rbindlist, I think I found the problem:
vapply(mylist, NROW, 0L)
2 2 2
where we need 2 1 4. To get the latter, vapply(lapply(mylist, setDT),
nrow, 0L) works, but alters the input. I'm sure you guys know a better
way to do it.
—
Reply to this email directly or view it on GitHub #1432 (comment)
.
Looking at this SO question
I thought I could use
rbindlist
, butAs suggested by the warning, the final
.id
is wrong. I see the same warning with various subsets ofmylist
.By the way, the "How to file a bug report" link is still dead over here: https://github.com/Rdatatable/data.table/blob/master/Contributing.md
The text was updated successfully, but these errors were encountered: