remote.execute.R.Rd
Execute command remotely
remote.execute.R(script, host = "localhost", user = NA, verbose = FALSE, R = "R", scratchdir = tempdir())
script | the script to be invoked, as a list of commands. |
---|---|
host | settings host list |
user | the username to use for remote login |
verbose | should the output be printed to the console |
args | a character vector of arguments to command. |
the captured output of the command (both stdout and stderr)
Executes the given command on the remote host using ssh. If the user is set the system will login as the given user. If the host given is the local machine it will execute the command locally without ssh.
# NOT RUN { remote.execute.R('list.files()', host='localhost', verbose=FALSE) # }