Closed MarcusKlik closed 6 years ago
The remote proxy object is now kept inside a data.table
cell, as is a remote proxy state
object. Both can be updated in-memory.
Closing for now, when we want to update the auto-completion of columns after an in-place modification (with :=
), a self-reference is still needed. But for a generated new datatableproxy object, that's not necessary.
To be able to process code like:
In this example, column N is added as a simulated (or perhaps better: virtual?) column to the table. That means that no data is generated yet, but the new column is kept as a tree structure of known methods (
*
and+
) and data (5
).To store that information,
ft
needs to be updated. To do that, afsttable
needs to update itself which requires an internal self reference (like adata.table
object). Perhaps the relevant data in afsttable
can be encapsulated in a single cell list-typedata.table
to start with (thatlist
element can be updated in-memory). Equivalent code: