Learn R Programming

datastructures (version 0.2.9)

stack: 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

Run this code
# NOT RUN {
 # creates a new stack<SEXP>
 s <- stack()

# }

Run the code above in your browser using DataLab