unshare: Unshare a shared object

unshareR Documentation

Unshare a shared object

Description

Unshare a shared object. There will be no effect if the object is not shared.

Usage

unshare(x)

Arguments

x

a shared object, or an object that contains a shared object.

Value

An unshared object

Examples

x1 <- share(1:10)
x2 <- unshare(x1)
is.shared(x1)
is.shared(x2)

Jiefei-Wang/SharedObject documentation built on Aug. 19, 2023, 5:47 p.m.