This function composes an ssh (Secure SHell) command to run
something on another machine and invokes it via system(). It
uses the plink program (part of the open-source PuTTY suite) to
send a command to a remote computer via the ssh protocol.
password on the remote machine. If missing, the
function will prompt for it.
wait
if TRUE, return only after command has
finished running on the remote system. If FALSE (the default),
return immediately after sending command to the remote system.
...
additional arguments passed to system
Value
The return value is whatever the system() function
returns. If ... includes intern = T, this will be
whatever the ssh or plink returned.