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 <csardi.gabor@gmail.com>
LicenseMIT + file LICENSE
Version1.0.1
URL https://github.com/gaborcsardi/rstack#readme
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rstack")

Try the rstack package in your browser

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

rstack documentation built on Aug. 31, 2023, 1:08 a.m.