rstack: Stack Data Type as an 'R6' Class

An extremely simple stack data type, implemented with 'R6' classes. The size of the stack increases as needed, and the amortized time complexity is O(1). The stack may contain arbitrary objects.

Getting started

Package details

AuthorGábor Csárdi
MaintainerGábor Csárdi <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the rstack package in your browser

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

rstack documentation built on May 2, 2019, 5:53 a.m.