powered by
length(x) < n
"head"(x, n = 6L, ...)
rstack
s <- rstack() s <- insert_top(s, "a") s <- insert_top(s, "b") s <- insert_top(s, "c") st <- head(s, n = 2) print(st) print(s)
Run the code above in your browser using DataLab