machine {pbdRPC} | R Documentation |
Remote machine configuration settings.
machine(hostname, user, exec.type = .pbd_env$RPC.LI$exec.type, args = .pbd_env$RPC.LI$args, pport = .pbd_env$RPC.LI$pport, priv.key = .pbd_env$RPC.LI$priv.key, priv.key.ppk = .pbd_env$RPC.LI$priv.key.ppk)
hostname |
the server ip or host name. |
user |
user id for logging to the server. If none is supplied, then the system user name will be used instead. |
exec.type |
either "ssh" or "plink" in character. Windows will force to use "plink". |
args |
further arguments to "ssh" or "plink" for connecting to the server in addition to port, user id, and host name. |
pport |
ssh port opened on the server. |
priv.key, priv.key.ppk |
location of the private key for user authentication, the file will be
checked first then |
An object of class machine
.
## Not run: # note: not my actual aws url myaws <- machine("ec2-1-2-3-4.compute-1.amazonaws.com", user="my_aws_username") # if you don't specify 'user', we use your host machine's user name myvm <- machine("192.168.1.10") ## End(Not run)