Learn R Programming

shard (version 0.1.0)

buffer_path: Get Buffer Path

Description

Returns the path or name of the buffer's underlying segment. Use this to pass buffer location to workers.

Usage

buffer_path(x)

Value

A character string with the path or name of the segment, or NULL if the segment is anonymous.

Arguments

x

A shard_buffer object.

Examples

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

Run the code above in your browser using DataLab