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 June 8, 2024, 1:35 a.m.