Learn R Programming

shard (version 0.1.0)

buffer_close: Close a Buffer

Description

Closes the buffer and releases the underlying shared memory.

Usage

buffer_close(x, unlink = NULL)

Value

NULL, invisibly.

Arguments

x

A shard_buffer object.

unlink

Whether to unlink the underlying segment.

Examples

Run this code
# \donttest{
buf <- buffer("double", dim = 10)
buffer_close(buf)
# }

Run the code above in your browser using DataLab