remote.execute.R.Rd
Execute command remotely
remote.execute.R(
script,
host = "localhost",
user = NA,
verbose = FALSE,
R = "R",
scratchdir = tempdir()
)
the script to be invoked, as a list of commands.
settings host list
the username to use for remote login
should the output be printed to the console
Path to the R executable or binary file.
Path to the scratch directory for temporary files during remote execution.
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.
if (FALSE) { # \dontrun{
remote.execute.R('list.files()', host='localhost', verbose=FALSE)
} # }