Description Usage Arguments Details Value Examples
Advances the iterator n-steps ahead without returning anything.
1 | consume(iterator, n = 0)
|
iterator |
an iterator object |
n |
The number of elements to consume. |
If n
is 0, the iterator is consumed entirely. Similarly, if n
is larger than the length of the iterator, the iterator is consumed entirely.
Nothing, i.e., invisible(NULL)
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.