Evaluates a module command, and returns the text output.
Usage
get_module_output(args, env = character())
Arguments
- args
A character vector defining the module command. You do not need to include the word "module". For example
module load zeromq
in bash could be converted torun_modulecmd(c("load", "zeromq"))
- env
A character vector containing
KEY=VALUE
entries not as a named vector defining additional environment variables to set