attr-set-.shard_shared_vector: Set an Attribute on a Shared Vector

attr<-.shard_shared_vectorR Documentation

Set an Attribute on a Shared Vector

Description

Raises an error if the copy-on-write policy is "deny".

Usage

## S3 replacement method for class 'shard_shared_vector'
attr(x, which) <- value

Arguments

x

A shard_shared_vector.

which

Attribute name.

value

Attribute value.

Value

The modified object x.


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