makeDockerClusterPSOCK: Make the Docker cluster on Google Compute Engine

Description Usage Arguments Author(s)

View source: R/future.R

Description

Called by as.cluster

Usage

1
2
3
4
5
6
7
8
9
makeDockerClusterPSOCK(
  workers,
  docker_image = "rocker/r-parallel",
  rscript = c("docker", "run", "--net=host", docker_image, "Rscript"),
  rscript_args = NULL,
  install_future = FALSE,
  ...,
  verbose = FALSE
)

Arguments

workers

The VMs being called upon

docker_image

The docker image to use on the cluster

rscript

The Rscript command to run on the cluster

rscript_args

Arguments to the RScript

install_future

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

verbose

How much feedback to show

Author(s)

Henrik Bengtsson henrikb@braju.com


cloudyr/googleComputeEngineR documentation built on Jan. 23, 2022, 8:30 a.m.