Skip to contents

The task graph is implicitly defined by various delayed objects having others in their argument lists.

Usage

compute(
  node,
  timeout_seconds = NULL,
  verbose = FALSE,
  namespace = NULL,
  force_all_local = FALSE
)

Arguments

node

The object whose args are being set – nominally, produced by delayed, delayed_generic_udf, etc.

timeout_seconds

Number of seconds after which to stop waiting for results. Note that in-flight computationsa are not cancelled; this is not supported by the underlying R package we use for concurrency.

verbose

If supplied, show the DAG state at the start and end, along with all node start/end. Also shown are any stdout prints from the individual nodes, but these are only visible once the compute node has completed.

namespace

The namespace to charge for any cloud costs during the execution of the task graph. This can be null only when all nodes have local, or when compute is called with force_all_local.

force_all_local

While individual nodes can be marked with local=TRUE to not be executed on TileDB cloud, this flag overrides the default local=FALSE for *all* nodes in the task graph.

Value

The value of the computation.