Description Usage Arguments Details Value Author(s) References See Also
If udef
is FALSE
, command
is passed to nm.pl
with supporting arguments. If grid
is TRUE
, the result is passed to qsub
with supporting arguments. If background
is TRUE
, ‘&’ is appended to the result. Each element of the result is executed
in succession using a system call customized by platform.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | runCommand(
command,
...,
run,
rdir,
wait,
checksum,
grid,
udef = FALSE,
ctlfile,
outfile,
perl = if (nix()) 'perl -S' else if (!invisible) 'cmd /K perl -S'
else 'cmd /C perl -S',
intern = invisible,
minimized = invisible,
invisible = FALSE,
split = FALSE,
N = glue('Run', run, if (split) c('c', 'e') else NULL),
o = rdir,
e = rdir,
L=if(split & is.character(interface) & interface=='nm.pl')
c(compileflag(compiler(config(dirname(command)))),NA)else NA,
hold_jid = if (split) c(NA, glue('Run', run, 'c')) else NA,
V = '',
j = 'y',
q=if(split) c('compile.q','all.q') else if(!execute)'compile.q' else 'all.q',
sync = if (wait) 'y' else 'n',
shell = 'n',
b = 'y',
cwd = '',
compile = TRUE,
execute = TRUE,
background=FALSE,
interface = 'nm.pl'
)
|
command |
a command to pass to |
run |
run name |
rdir |
run directory |
wait |
see |
checksum |
see |
grid |
see |
udef |
see |
ctlfile |
see |
outfile |
see |
perl |
a character string to invoke perl |
intern |
see |
minimized |
see |
invisible |
see |
split |
whether compile and execute should be run separately; defaults to FALSE as of v. 5.22 |
N |
passed to |
o |
passed to |
e |
passed to |
L |
passed to |
hold\_jid |
passed to |
V |
passed to |
j |
passed to |
q |
passed to |
sync |
passed to |
shell |
passed to |
b |
passed to |
cwd |
passed to |
compile |
passed to |
execute |
passed to |
background |
|
interface |
the name of a function to prepare NONMEM command lines |
... |
passed to |
The argument ‘L’ represents a possibly-constituative instance of qsub
's ‘l’,
but is not called ‘l’ so that other instances of ‘l’ (multiple are allowed)
will not accidentally override it. Users can override intentionally, of course.
N
, L
, and hold_jid
are coordinated so that if a run is split, compile status is flagged
on the compile run, and the execute run waits for compile to finish.
‘q’ is handled specially. When overriding, be sure to pass a character vector of
length one for a normal run, and of length two if split
is TRUE
(the default when
grid
is TRUE
). By default, all standalone compile-only runs are diverted to
‘compile.q’, as well as all compile halves of split runs. By default, all execute-only
runs as well as the execute halves of split runs are diverted to ‘all.q’.
character vector showing the result(s) of the system call(s)
Tim Bergsma
http://metrumrg.googlecode.com
runNonmem
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.