makeAD {PBSadmb}R Documentation

Make an Executable Binary File from a C File

Description

Essentially a wrapper function that calls in sequence: convAD, compAD, and linkAD.

Usage

makeAD(prefix, raneff=FALSE, safe=TRUE, logfile=TRUE, verbose=TRUE)

Arguments

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.
verbose logical: if TRUE, report the shell call an its messages to the R console.

Details

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.

Value

Returns nothing. The three functions called by makeAD each return the shell call and its messages.

Note

A wrapper function that can be called from a GUI exists as .win.makeAD.

Author(s)

Jon T. Schnute, Pacific Biological Station, Nanaimo BC, Canada

See Also

convAD, compAD, linkAD, cleanAD


[Package PBSadmb version 0.61.44 Index]