Runs modulecmd
with some arguments
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"))
- ...
Arguments to forward to
base::system2()
Details
This is a low-level unexported function because users are encouraged
to use the higher level functions such as module_load()
The shell is harcoded as "r" because (surprise!) that's the
language you are using right now