rstudioapi (version 0.10)

launcherSubmitR: Execute an R Script as a Launcher Job

Description

Convenience function for running an R script as a launcher job using whichever R is found on the path in the launcher cluster.

Usage

launcherSubmitR(script, cluster = "Local", container = NULL)

Arguments

script

Fully qualified path of R script. Must be a path that is available in the job container (if using containerized job cluster such as Kubernetes).

cluster

The name of the cluster this job should be submitted to.

container

The container to be used for launched jobs.

Details

See launcherSubmitJob() for running jobs with full control over command, environment, and so forth.

See Also

Other job submission: launcherConfig, launcherContainer, launcherHostMount, launcherNfsMount, launcherPlacementConstraint, launcherResourceLimit, launcherSubmitJob