Learn R Programming

Rvision (version 0.6.0)

reset: Reset a Queue

Description

reset flush a Queue object from all the frames it contains and starts filling it up again with new frames.

Usage

reset(x)

Arguments

x

A Queue object.

Value

This function returns nothing.

See Also

Queue, queue

Examples

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

# }

Run the code above in your browser using DataLab