powered by
length(x) < n
"head"(x, n = 6L, ...)
rpqueue
q <- rpqueue() q <- insert_back(q, "a") q <- insert_back(q, "b") q <- insert_back(q, "c") qt <- head(q, n = 2) print(qt)
Run the code above in your browser using DataLab