Queue Data Structure in R

This is a simple implementation of queue data structure in R. You can add and remove items from the queue, and it can also track the number of adds and removes as well as the min and max size of the queue.

Instructions

Download the one R file and read it with source("queue.R"). If you want to convert it into an R package or add it to an existing one then please do, the code is released under a CC license. Write a stack and a deque as well while you're at it.

Downloads

Instructions

Read the file for documentation, including a little test function called testQueue()