Helper function to debug SSH mode.

Share:

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

1
2
debugSSH(nodename, 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.

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.