Open
Description
I don't think it's too uncommon to have objects like
list(data.table(a = 1, b = 4:6)),
data.table(a = 2, b = 7:10))
sitting around in one's workspace. It seems tables
should look for these objects as well -- they could come from split.data.table
, or, eventually, from fread
(#2582).
I'm not too worried about recursive nesting, and would eschew looking for data.table
s that are nested within data.table
/data.frame
objects.
Activity
MichaelChirico commentedon May 8, 2019
I think
recursive
argument would be helpful and a basic version pretty straightforward to implementmarkseeto commentedon Sep 9, 2023
@MichaelChirico I'm a beginner with PRs but I'm interested in working on this.
Can you please clarify how the modified
tables()
function should behave? Here's an example:Do you think the data.tables in
DT_list1
andDT_list2
should appear in the same table asDT_A
andDT_B
, or should they appear in a separate table?That is, should the output of
tables()
be something like this:Or something like this:
Or something else?
And when you say you're not too worried about recursive nesting, does that mean that if we had
then the four data.tables in
DT_list3
wouldn't need to appear in the output oftables()
?