Learn R Programming

Rvision (version 0.6.0)

capacity: Capacity of a Queue

Description

capacity returns the maximum number of elements that a Queue object can contain.

Usage

capacity(x)

Arguments

x

A Queue object.

Value

A numeric value.

See Also

Queue, queue

Examples

Run this code
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
buf <- queue(balloon)
capacity(buf)

# }

Run the code above in your browser using DataLab