Get 50% off unlimited learning
Buy Now
Rdocumentation
powered by
Learn R Programming
rstackdeque (version 1.1.1)
print.rstack: Print an rstack
Description
Prints a summary of the contents of an rstack, including the number of elements and the top few.
Usage
"print"(x, ...)
Arguments
x
the rstack to print.
...
additional arguments to be passed to or from methods (ignored).
Details
Since only the top few elements are detailed, runs in $O(1)$ time.
See Also
as.list.rstack
for converting an rstack into a list which can then be printed in full.