Description Usage Arguments Details Value See Also Examples
Set and get default options of login information for srpc()
.
1 2 3 4 | rpcopt_set(user = NULL, hostname = NULL, pport = NULL, exec.type = NULL,
args = NULL, priv.key = NULL, priv.key.ppk = NULL)
rpcopt_get()
|
user |
user id for logging to the server. |
hostname |
the server ip or host name. |
pport |
ssh port opened on the server. |
exec.type |
either "ssh" or "plink". |
args |
arguments to the |
priv.key |
file name/path to the private key in OpenSSH format. |
priv.key.ppk |
file name/path to the private key in PuTTY format. |
rpcopt_set()
is to alter default options of login information.
The user defined options are set to .pbd_env$RPC.LI
.
rpcopt_get()
is to get default options of login information
from .pbd_env$RPC.LI
.
A list is returned.
1 2 3 4 5 6 7 | ## Not run:
library(pbdRPC, quietly = TRUE)
rpcopt_set(user = "snoweye", hostname = "192.168.56.101")
rpcopt_get()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.