debugSSH: Helper function to debug SSH mode.

View source: R/debugSSH.R

debugSSHR Documentation

Helper function to debug SSH mode.

Description

Useful in case of configuration problems. Tries different operations of increasing difficulty and provides debug output on the console.

Note that this function does not access nor use information specified for your cluster functions in your configuration.

Usage

debugSSH(
  nodename,
  ssh.cmd = "ssh",
  ssh.args = character(0L),
  rhome = "",
  r.options = c("--no-save", "--no-restore", "--no-init-file", "--no-site-file"),
  dir = getwd()
)

Arguments

nodename

[character(1)]
Node on which worker should be constructed for the test.

ssh.cmd

[character(1))]
CLI command to ssh into remote node. Default is “ssh”.

ssh.args

[character]
CLI args for ssh.cmd. Default is none.

rhome

[character(1)]
Path to R installation on the worker. “” means R installation on the PATH is used, of course this implies that it must be on the PATH (also for non-interactive shells)! Default is “”.

r.options

[list] Options for R and Rscript, one option per element of the vector, a la “–vanilla”. Default is c("--no-save", "--no-restore", "--no-init-file", "--no-site-file").

dir

[character(1)]
Path where internally used test registries can be created. Note that this must be shared for the worker. Default is current working directory.

Value

Nothing.

See Also

Other debug: debugMulticore(), getErrorMessages(), getJobInfo(), getLogFiles(), grepLogs(), killJobs(), resetJobs(), setJobFunction(), showLog(), testJob()


tudo-r/BatchJobs documentation built on April 3, 2022, 3:28 a.m.