is.shared {bigmemory}R Documentation

Check the shared memory status of a “big.matrix”

Description

Check to see if a big.matrix is in shared memory.

Usage

is.shared(x)

Arguments

x a big.matrix.

Value

TRUE if a big.matrix is in shared memory, and FALSE otherwise.

Author(s)

John W. Emerson and Michael J. Kane

See Also

bigmemory, big.matrix

Examples

x <- big.matrix(10, 2, init=-5)
colnames(x)=c("alpha", "beta")
is.big.matrix(x)
is.shared(x)

## Not run: 
z <- shared.big.matrix(7, 3, type='integer', init=3)
is.big.matrix(z)
is.shared(z)
## End(Not run)

[Package bigmemory version 2.3 Index]