Description Usage Arguments Value Examples
Create iterator over an atomic vector.
1 |
x |
an iterable atomic vector. |
an iterator.
1 2 3 4 5 | itr <- iterator_atomic(3:5)
#Created iterator loops indefinitely.
print(collect(itr, 10))
itr <- iterator_atomic(c("a", "b", "c", "d"))
itr()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.