Learn R Programming

shard (version 0.1.0)

segment_size: Get the size of a segment

Description

Get the size of a segment

Usage

segment_size(x)

Value

Size in bytes as a numeric scalar.

Arguments

x

A shard_segment object

Examples

Run this code
# \donttest{
seg <- segment_create(1024)
segment_size(seg)
segment_close(seg)
# }

Run the code above in your browser using DataLab