generate_env_setup_script {scriptexec} | R Documentation |
Generates and returns a script which sets up the env vars for the script execution.
generate_env_setup_script(env = character())
env |
Optional character vector of name=value strings to set environment variables |
The script text which sets up the env
script <- generate_env_setup_script(c('ENV_TEST=MYENV'))