library(future.batchtools)
## Use local batchtools futures
plan(batchtools_local)
## A global variable
a <- 1
v %<-% {
b <- 3
c <- 2
a * b * c
}
print(v)
# \donttest{
plan(batchtools_local)
demo("mandelbrot", package = "future", ask = FALSE)
# }
Run the code above in your browser using DataLab