Called by as.cluster
makeDockerClusterPSOCK(workers, docker_image = "rocker/r-parallel",
rscript = c("docker", "run", "--net=host", docker_image, "Rscript"),
rscript_args = NULL, install_future = FALSE, ..., verbose = FALSE)
The VMs being called upon
The docker image to use on the cluster
The Rscript command to run on the cluster
Arguments to the RScript
Whether to check if future is installed first (not needed if using docker derived from rocker/r-parallel which is recommended)
Other arguments passed to makeClusterPSOCK
How much feedback to show