Nothing
library(iterors)
i_limit <- function(it, times) {
it <- iteror(it)
nextOr_ <- function(or) {
if (times > 0)
times <<- times - 1
else
or
nextElem(it)
}
iteror_internal(nextOr_)
}
it <- i_limit(icount(Inf), 3)
print(nextOr(it, "done"))
print(nextOr(it, "done"))
print(nextOr(it, "done"))
print(nextOr(it, "done"))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.