| table_write | R Documentation |
table_write() is the common write path for shard table outputs:
For fixed-size outputs, write into a shard_table_buffer using a row selector.
For variable-size outputs, write into a shard_table_sink using a shard id.
table_write(target, rows_or_shard_id, data, ...)
target |
A |
rows_or_shard_id |
For buffers: row selector (idx_range or integer vector). For sinks: shard id (integer). |
data |
A data.frame or named list matching the schema columns. |
... |
Reserved for future extensions. |
NULL (invisibly).
s <- schema(x = float64(), y = int32())
tb <- table_buffer(s, nrow = 10L)
table_write(tb, idx_range(1, 5), data.frame(x = rnorm(5), y = 1:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.