| rpc {pbdRPC} | R Documentation |
Remote Procedure Call
Description
Launch a command via ssh or plink on a (remote) server.
Usage
rpc(machine, cmd = "whoami", intern = .pbd_env$RPC.CT$intern,
wait = .pbd_env$RPC.CT$wait)
Arguments
machine |
A machine configuration. See |
cmd |
the command to be executed on the server. |
intern, wait |
arguments passed to |
Details
Using either ssh or plink to launch a command on a (remote)
server.
Authentication is working currently for ssh.
NO further input from stdin is expected.
Outputs or errors may not be captured by R.
Value
Mainly the message received from the command line of server may be returned but may not be captured by R.
For example, Windows with plink will not capture the return because
currently the authentication is not working. A windows bat file is
launched by shell.exec() in an additional cmd.exe window
to avoid saving password inside R.
See Also
machine(), start_rr(),
check_rr(), kill_rr(),
srpc(),
ssh(), and plink().