run_civis {civis} | R Documentation |
Evaluate an R expression in a Civis Platform container
Description
Evaluate an R expression in a Civis Platform container
Usage
run_civis(expr, ...)
Arguments
expr |
code to evaluate |
... |
arguments to |
Details
run_civis
blocks until completion. For non-blocking calls,
use futures directly with civis_platform
.
Attempts are made at detecting and installing necessary packages
within the container, and detecting global variables required in expr
.
See Also
Other script_utils:
civis_script()
,
fetch_output_file_ids()
,
run_template()
Examples
## Not run:
run_civis(2+2)
# specify required resources, and a specific image
run_civis(2+2,
required_resources = list(cpu = 1024, memory = 2048),
docker_image_name='image',
docker_image_tag = 'latest')
## End(Not run)
[Package civis version 3.1.2 Index]