The Container for the DockerParallel Package

Providing the container for the DockerParallel package.


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.

doRedisContainer

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:

RedisParamContainer

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:

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RedisBaseContainer")

1.0.1 by Jiefei Wang, 5 years ago


Browse source code at https://github.com/cran/RedisBaseContainer


Authors: Jiefei Wang [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports DockerParallel, methods, utils

Suggests knitr, rmarkdown, markdown


See at CRAN