Learn R Programming

scriptexec (version 0.3.1)

generate_env_setup_script: Generates and returns a script which sets up the env vars for the script execution.

Description

Generates and returns a script which sets up the env vars for the script execution.

Usage

generate_env_setup_script(env = character())

Arguments

env

Optional character vector of name=value strings to set environment variables

Value

The script text which sets up the env

Examples

Run this code
# NOT RUN {
script <- generate_env_setup_script(c('ENV_TEST=MYENV'))
# }

Run the code above in your browser using DataLab