future.redis | R Documentation |
The future.redis package implements the Future API using the Redis key/value database to define partially fault-tolerant task queues for elastic distributed computing.
if (redux::redis_available()) {
## The example assumes that a Redis server is running on the local host
## and standard port.
plan(redis)
startLocalWorkers(2, linger=1)
demo("mandelbrot", package = "future", ask = FALSE)
removeQ()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.