| as.matrix.shard_buffer | R Documentation |
Coerce a Shared Memory Buffer to Matrix
## S3 method for class 'shard_buffer'
as.matrix(x, ...)
x |
A |
... |
Ignored. |
A matrix with the buffer contents and the buffer's dimensions.
buf <- buffer("double", dim = c(3, 4))
as.matrix(buf)
buffer_close(buf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.