powered by
Run command on submission node
run_cmd(cmd, print = FALSE)
A single-line command.
Whether to print output from the command.
The output of the command.
If current node is not the submission node, the command is executed via ssh.
# NOT RUN { # run pwd on remote node run_cmd("pwd") # }
Run the code above in your browser using DataLab