"as.rpqueue"(x, ...)
rpqueue
.
as.list
,
after this an rpqueue of the appropriate size is created holding the elements. The element at x[[1]]
becomes the front of the rpqueue. Runs in time $O(n)$.
rpqueue
for info about rpqueues, as.rpqueue
for the generic function.