| shared_reset_diagnostics | R Documentation |
Reset diagnostic counters for a shared vector
shared_reset_diagnostics(x)
x |
A shard ALTREP vector |
x (invisibly)
seg <- segment_create(400)
segment_write(seg, 1:100, offset = 0)
x <- shared_vector(seg, "integer", length = 100)
sum(x)
shared_diagnostics(x)$dataptr_calls
shared_reset_diagnostics(x)
shared_diagnostics(x)$dataptr_calls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.