slurmr_docker | R Documentation |
Helper functions to use slurmR
's docker image. This requires
having an internet connection and docker
installed in your
system.
docker_available(path = "")
slurmr_docker_pull(path = "")
slurmr_docker_run(path = "", pull = TRUE, timeout = 60)
slurmr_docker_stop(UUID = "", path = "")
path |
Path to the |
pull |
Logical scalar. When |
timeout |
Integer. Number of seconds to wait for docker to start the slurmR image. |
UUID |
String. Universally Unique Identifier. |
Starting version 0.5-0, a Docker image with Slurm, R, and slurmR is available at https://hub.docker.com/r/uscbiostats/slurmr. The source code (Dockerfile) is available in the project GitHub repository: https://github.com/USCbiostats/slurmR.
# This example requires having Docker installed in the system
## Not run:
# Start the docker image. By default it will try to pull the
# image from Docker Hub if available
# This opens a bash session with R + Slurm + slurmR
slurmr_docker_run()
# Will pull the docker image
slurmr_docker_pull()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.