zz_rpc_control: Sets of controls in pbdRPC.

Description Usage Arguments Author(s) See Also

Description

These sets of controls are used to provide default values in pbdRPC package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
RPC.CT(verbose = FALSE, intern = FALSE, wait = TRUE, check.exec = FALSE,
  use.shell.exec = TRUE, pause = TRUE)

RPC.LI(exec.type = "ssh", args = "", pport = 22, user = "snoweye",
  hostname = "192.168.56.101", priv.key = "~/.ssh/id_rsa",
  priv.key.ppk = "./id_rsa.ppk")

RPC.RR(check = "ps axww|grep '[r]emoter::server'",
  kill = "kill -9 $(ps axww|grep '[r]emoter::server'|awk '{print $1}')",
  start = "nohup Rscript -e 'remoter::server()' > .rrlog 2>&1 < /dev/null &",
  preload = "source ~/work-my/00_set_devel_R; ",
  checkx = "ps axww|grep '[r]emoter::server\\|[x]vfb-run'",
  killx = "kill -9 $(ps axww|grep '[r]emoter::server\\|[x]vfb-run'|awk '{print $1}')",
  startx = "nohup xvfb-run Rscript -e 'remoter::server()' > .rrlog 2>&1 < /dev/null &")

Arguments

verbose, intern, wait, check.exec, use.shell.exec, pause

RPC control for system, shell.exec, and so on. wait = FALSE allows asynchronous commands which need more test. e.g. continuously port forwarding without sending commands to background.

exec.type, args, pport, user, hostname, priv.key, priv.key.ppk

RPC login information used by srpc(), ssh(), or plink().

check, kill, start, preload, checkx, killx, startx

RPC remoter commands used by check_rr(), kill_rr(), or start_rr() and virtual X11 related versions checkx_rr(), killx_rr(), or startx_rr().. RPC pbdCS commands used by check_cs(), kill_cs(), or start_cs().

Author(s)

Wei-Chen Chen wccsnow@gmail.com.

Programming with Big Data in R Website: http://r-pbd.org/

See Also

.pbd_env.


pbdRPC documentation built on May 1, 2019, 7:28 p.m.