Print an rdeque

Share:

Description

Prints a summary of the contents of an rdeque, including the number of elements and the first and last few.

Usage

1
2
## S3 method for class 'rdeque'
print(x, ...)

Arguments

x

the rdeque to print.

...

additional arguments to be passed to or from methods (ignored).

Details

Depending on the internal state of the rdeque, this method is not gauranteed to run in O(1) time.

See Also

as.list.rdeque for converting an rdeque into a list which can then be printed in full.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.