doClust: do.call with cluster as backend via ssh

Description Usage Arguments Value

View source: R/functions.R

Description

do.call with cluster as backend via ssh

Usage

1
2
3
4
5
doClust(what, arg = list(), conf = NULL, user = NULL,
  host = "login.gbar.dtu.dk", transferHost = NULL, keyPath = NULL,
  packages = c(), Rscript = TRUE, globalVar = list(), async = FALSE,
  nCores = 1, qsub.walltime = "00:09:00", qsub.proc = 1, qsub.nodes = 1,
  qsub.moreArgs = NULL)

Arguments

what

function or name of function to execute

arg

arguments for function

user

username

host

server (will connect to user@server)

transferHost

server to transfer files through, will use transfer.gbar.dtu.dk or host if NULL

keyPath

specifiy file and path for private key, if NULL non or system default.

packages

char vector of package names (can be empty)

Rscript

execute by Rscript or R CMD BATCH (former only supported on gbar, ladder no verbose)

async

return after starting job? returned value is ticked to fetch result when job completed

nCores

number of cores on each node

qsub.walltime

only relevant for async=T or lply, job time limit on Torque('qsub')-cluster

qsub.proc

how many processes to ask for per job, 1 unless using doParallel etc.

qsub.nodes

how many nodes to ask for per job, leave unchanged if in doubt

Value

value return by evaluated function


sorhawell/fastRditijuu documentation built on May 30, 2019, 6:32 a.m.