run_code: Run code in a Docker image of a platform and an R...

Description Usage Arguments Examples

View source: R/run.R

Description

Run code in a Docker image of a platform and an R implementation

Usage

1
2
run_code(code, platform = "debian", r_implementation = "gnu-r",
  volumes = NULL, ...)

Arguments

code

An expression or string of R code

platform

The platform name see supported_platforms

r_implementation

The R implementation name. See supported_Rs

volumes

Volume mapping from host to container

...

Parameters passed on to stevedore client creation and container running functions

Examples

1
2
3
4
## Not run: 
run_code("a = 1 + 1", 'debian', 'gnu-r')

## End(Not run)

ismailsunni/altRnative documentation built on April 1, 2020, 2:22 a.m.