is.altrep {SharedObject}R Documentation

Is an object of a desired type?

Description

Is an object of a desired type?

Usage

is.altrep(x)

is.shared(x, recursive = TRUE)

Arguments

x

an R object

recursive

Logical, whether a data.frame can be treated as a shared object. If TRUE, a data.frame is called a shared object if and only if all of its columns are shared objects.

Value

A logical value

Examples

x = share(1:10)
is.altrep(x)
is.shared(x)

[Package SharedObject version 1.0.0 Index]