knitr::opts_chunk$set(echo = TRUE, comment = "#>")
The goal of redisProgress is to create a progress bar system to follow tasks distributed across several R instances (on the same host or several). It uses Redis instance to follow tasks progress.
Tasks are grouped in a named "queue" and can be monitored together on the same screen.
# Install the released version from CRAN: install.packages("redisProgress") # Install the cutting edge development version from GitHub: # install.packages("devtools") devtools::install_github("cturbelin/redisProgress")
queue
), each task can have an arbitrary number of steps.redis_progress_monitor()
.redisProgress can handle several packages implementing redis client API
rredis
RcppRedis
redux
rrlite
(Redis without Redis)redis_client()
creates a client object embedding the connection context, using a unified interface, regardless the
redis package used. The connection parameters (host, port,...) will be propagated to the R instances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.