Learn R Programming

shard (version 0.1.0)

segment_protect: Make a segment read-only

Description

Make a segment read-only

Usage

segment_protect(x)

Value

The shard_segment object, invisibly.

Arguments

x

A shard_segment object

Examples

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

Run the code above in your browser using DataLab