| [.shard_buffer | R Documentation |
Extract Buffer Elements
## S3 method for class 'shard_buffer'
x[i, j, ..., drop = TRUE]
x |
A shard_buffer object. |
i |
Index or indices. |
j |
Optional second index (for matrices). |
... |
Additional indices (for arrays). |
drop |
Whether to drop dimensions. |
A vector or array of values read from the buffer.
buf <- buffer("double", dim = 10)
buf[1:5] <- 1:5
buf[1:3]
buffer_close(buf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.