linkAD {PBSadmb} | R Documentation |
Links the binary object file 'prefix'.o
to the ADMB libraries and
produces the executable file 'prefix'.exe
.
linkAD(prefix, raneff=FALSE, safe=TRUE, logfile=TRUE, add=TRUE, verbose=TRUE, comp="GCC")
prefix |
string name prefix of the ADMB project (e.g., "vonb" ). |
raneff |
logical: use the random effects model, otherwise use the normal model. |
safe |
logical: if TRUE , use safe mode with bounds checking on all
array objects, otherwise use optimized mode for fastest execution. |
logfile |
logical: if TRUE , create a log file of the messages from the shell call. |
add |
logical: if TRUE , append shell call messages to an exsiting log file. |
verbose |
logical: if TRUE , report the shell call an its messages to the R console. |
comp |
string: compiler to use - "GCC" is only currently supported |
This function uses the C++ comiler declared in .ADopts
. If logfile=TRUE
,
any errors will appear in 'prefix'.log
. If verbose=TRUE
,
they will appear in the R console.
Invisibly returns the shell call and its messages.
A wrapper function that can be called from a GUI exists as .win.linkAD
.
Jon T. Schnute, Pacific Biological Station, Nanaimo BC, Canada