print.rstack {rstackdeque} | R Documentation |
Prints a summary of the contents of an rstack, including the number of elements and the top few.
## S3 method for class 'rstack' print(x, ...)
x |
the rstack to print. |
... |
additional arguments to be passed to or from methods (ignored). |
Since only the top few elements are detailed, runs in O(1) time.
as.list.rstack
for converting an rstack into a list which can then be printed in full.