Nothing
# This is a terrible example and desperately needs to be replaced
# with something that appears somewhat useful.
library(itertools)
library(foreach)
n <- 1000
zz <- file("testbin", "wb")
expected <- foreach(1:1000) %do% {
x <- rnorm(n)
writeBin(x, zz)
mean(x)
}
close(zz)
it <- ireadBin("testbin", "double", n=n)
actual <- foreach(x=it) %do% {
mean(x)
}
print(identical(actual, expected))
unlink("testbin")
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.