dequer: Stacks, Queues, and 'Deques' for R
Version 2.0-0

Queues, stacks, and 'deques' are list-like, abstract data types. These are meant to be very cheap to "grow", or insert new objects into. A typical use case involves storing data in a list in a streaming fashion, when you do not necessarily know how may elements need to be stored. Unlike R's lists, the new data structures provided here are not necessarily stored contiguously, making insertions and deletions at the front/end of the structure much faster. The underlying implementation is new and uses a head/tail doubly linked list; thus, we do not rely on R's environments or hashing. To avoid unnecessary data copying, most operations on these data structures are performed via side-effects.

Package details

AuthorDrew Schmidt [aut, cre]
Date of publication2016-09-26 16:46:57
MaintainerDrew Schmidt <wrathematics@gmail.com>
LicenseBSD 2-clause License + file LICENSE
Version2.0-0
URL https://github.com/wrathematics/dequer
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dequer")

Try the dequer package in your browser

Any scripts or data that you put into this service are public.

dequer documentation built on May 29, 2017, 10:39 a.m.