Skip to contents

Retrieve the dimensions a Stream object.

Usage

# S3 method for class 'Rcpp_Stream'
dim(x)

Arguments

x

A Stream object.

Value

A vector with 2 values corresponding to the number of rows and columns of the stream (in this order).

See also

Author

Simon Garnier, garnier@njit.edu

Examples

if (FALSE) { # \dontrun{
live <- stream(0)
sim(live)
release(live)
} # }