Nothing
#' Set random seed for future assignment
#'
#' @usage fassignment \%seed\% seed
#'
#' @param fassignment The future assignment, e.g.
#' `x %<-% { expr }`.
#' @inheritParams future
#'
#' @export
`%seed%` <- function(fassignment, seed) {
fassignment <- substitute(fassignment)
envir <- parent.frame(1)
## Temporarily set 'seed' argument
args <- getOption("future.disposable", list())
args["seed"] <- list(seed)
options(future.disposable = args)
on.exit(options(future.disposable = NULL))
eval(fassignment, envir = envir, enclos = baseenv())
}
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.