runAD | R Documentation |
Run the executable binary file 'prefix'.exe
that was created by
makeAD
.
runAD(prefix, argvec="", logfile=TRUE, add=TRUE, verbose=TRUE)
prefix |
string name prefix of the ADMB project (e.g., |
argvec |
string scalar/vector of arguments appropriate for the executable
|
logfile |
logical: if |
add |
logical: if |
verbose |
logical: if |
This function typically reads the two files 'prefix'.dat
and 'prefix'.pin
,
although in same cases one or both of these files may not be necessary.
If logfile=TRUE
, output (including error messages, if any) will appear in
'prefix'.log
. If verbose=TRUE
, it will appear in the R console.
Invisibly returns the results of the shell call.
A wrapper function that can be called from a GUI exists as .win.runAD
.
Jon T. Schnute, Scientist Emeritus
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
Last modified Rd: 2009-09-10
runMC
, makeAD
, cleanAD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.