Learn R Programming

bigmemory (version 2.3)

is.shared: 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

Value

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

See Also

bigmemory, big.matrix

Examples

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

z <- shared.big.matrix(7, 3, type='integer', init=3)
is.big.matrix(z)
is.shared(z)

Run the code above in your browser using DataLab