# NOT RUN {
library(pbdRPC, quietly = TRUE)
rpcopt_set(user = "snoweye", hostname = "192.168.56.101")
### see start_rr(), check_rr(), and kill_rr() for more examples.
srpc()
srpc("ls")
srpc("ls ~/work-my")
srpc("cat ~/work-my/00_set_devel_R")
### see ssh(), plink(), and run_args() for lower level examples.
### Local port forwarding
srpc(args = "-N -T -L 55555:localhost:55555")
start_rr()
library(remoter)
client() # equivalent to client(addr = "192.168.56.101")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab