shared_segment: Get the underlying segment from a shared vector

View source: R/altrep.R

shared_segmentR Documentation

Get the underlying segment from a shared vector

Description

Get the underlying segment from a shared vector

Usage

shared_segment(x)

Arguments

x

A shard ALTREP vector

Value

A shard_segment S3 object wrapping the underlying segment

Examples


x <- as_shared(1:100)
shared_segment(x)


shard documentation built on April 3, 2026, 9:08 a.m.