Links the binary object file 'prefix'.o to the ADMB libraries and
produces the executable file 'prefix'.exe.
linkAD(prefix, raneff=FALSE, safe=TRUE, dll=FALSE, debug=FALSE,
logfile=TRUE, add=TRUE, verbose=TRUE, pathfile=NULL)Invisibly returns the shell call and its messages.
string name prefix of the ADMB project (e.g., "vonb").
logical: use the random effects model, otherwise use the normal model.
logical: if TRUE, use safe mode with bounds checking on all
array objects, otherwise use optimized mode for fastest execution.
create dll (rather than executable)
compile with debug symbols
logical: if TRUE, create a log file of the messages from the shell call.
logical: if TRUE, append shell call messages to an exsiting log file.
logical: if TRUE, report the shell call an its messages to the R console.
string name of 2-column text file that details the
relevant paths for the R variables admbpath, gccpath, and editor.
Jon T. Schnute, Scientist Emeritus
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
Last modified Rd: 2015-01-27
This function uses the C++ comiler declared in .PBSadmb. If logfile=TRUE,
any errors will appear in 'prefix'.log. If verbose=TRUE,
they will appear in the R console.
convAD, compAD,
makeAD, readADpaths