Learn R Programming

Rvision (version 0.6.0)

nrow.Rcpp_Stream: The Number of Rows/Columns of a Stream

Description

nrow and ncol return the number of rows and columns present in a Stream object.

Usage

nrow.Rcpp_Stream(x)

ncol.Rcpp_Stream(x)

Arguments

x

A Stream object.

Value

A numeric value.

See Also

dim which returns all dimensions.

Examples

Run this code
# NOT RUN {
live <- stream(0)
nrow(live)
ncol(live)
release(live)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab