Learn R Programming

shard (version 0.1.0)

as.logical.shard_buffer: Coerce a Shared Memory Buffer to Logical

Description

Coerce a Shared Memory Buffer to Logical

Usage

# S3 method for shard_buffer
as.logical(x, ...)

Value

A logical vector with the buffer contents.

Arguments

x

A shard_buffer object.

...

Ignored.

Examples

Run this code
# \donttest{
buf <- buffer("logical", dim = 5)
as.logical(buf)
buffer_close(buf)
# }

Run the code above in your browser using DataLab