This package is an extension package for the DockerParallel
package and defines the common functions for the container class. It cannot be directly used by the end user. The user should use the package doRedisContainer
and RedisParamContainer
.
The package doRedisContainer
provides the worker container with foreach doRedis backend.At the time of writing, the package doRedis
is not available on CRAN, the latest version can be installed from github remotes::install_github("bwlewis/doRedis")
. The worker container can be made by
library(doRedisContainer)
workerContainer <- doRedisWorkerContainer(image = "r-base")
workerContainer
#> Redis container reference object
#> Image: dockerparallel/r-base-worker:latest
#> backend: doRedis
#> maxWorkers: 4
#> Environment variables:
The argument image
determines the base image used by the container. The server container can be obtained by
serverContainer <- doRedisServerContainer()
serverContainer
#> Redis container reference object
#> Image: dockerparallel/redis-r-server:latest
#> maxWorkers: 1
#> Environment variables:
The package RedisParamContainer
provides the worker container with BiocParallel RedisParam backend. At the time of writing, the package RedisParam
is not available on Bioconductor, the latest version can be installed from github remotes::install_github("mtmorgan/RedisParam")
. The worker container can be made by
library(RedisParamContainer)
workerContainer <- RedisParamWorkerContainer(image = "r-base")
workerContainer
#> Redis container reference object
#> Image: dockerparallel/r-base-worker:latest
#> backend: RedisParam
#> maxWorkers: 4
#> Environment variables:
The argument image
determines the base image used by the container. The server container can be obtained by
serverContainer <- RedisParamServerContainer()
serverContainer
#> Redis container reference object
#> Image: dockerparallel/redis-r-server:latest
#> maxWorkers: 1
#> Environment variables: