ssh_fn: run terminal command on cluster

Description Usage Arguments Value See Also Examples

Description

wrapper to run command on the terminal of the cluster

Usage

1
2
ssh_fn(session, .f = "whoami", intern = FALSE, convert_intern = TRUE,
  ...)

Arguments

session

session connection object

.f

command to run, Default: 'whoami'

intern

boolean, switch between ssh_exec_internal and ssh_exec_wait

convert_intern

boolean, convert raw output from ssh_exec_internal into human readable objects, Default: TRUE

...

parameter to pass to ssh function

Value

ssh result from the command

See Also

ssh_exec

Examples

1
2
3
4
5
## Not run: 
ssh_fn(session,.f='ls ~')
ssh_fn(session,.f='ls ~',intern = TRUE)

## End(Not run)

yuliasidi/condor documentation built on May 17, 2019, 2:15 a.m.