stack {datastructures}R Documentation

Create a new stack

Description

Instantiates a new stack object, i.e. a list implementation with LIFO principle.

Usage

stack(...)

Arguments

...

parameters that are only needed if utils::stack should be called

Value

returns a new stack object

Examples

 # creates a new stack<SEXP>
 s <- stack()


[Package datastructures version 0.2.8 Index]