A queue is a first-in-first-out (FIFO) data structure. The queue package provides a basic interface and implementation for queues. The packages also include “hook” for more sophisticated, inter-process messaging.
1 2 3 4
The type of queue to create; default is
The queue to push or pop values from
The value to push onto the queue
By default the
queue function creates a
which can be used on a single R process for sequential data
storage. When distributed queues are used, as in the case with
redis.queue package arguments such as the shared
resource name must be specified via the
queue returns the queue data structure.
FALSE depending on whether
or not the push is successful.
pop returns the data at the head of the queue.
1 2 3 4 5 6 7 8 9 10 11 12 13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.