ADMBcmd {PBSadmb} | R Documentation |
Command scripts for ADMB's convert, compile, and link routines
data(ADMBcmd)
A data frame with the following 8 variables:
OS
Comp
Index
Step
Safe
TRUE
use safe mode; if not, use optimise mode.RanEff
TRUE
use random effects model; if not, use normal model.Command
Step
,
Safe
, and RanEff
Comment
This database represents a compilation of ADMB scripts for various
operating systems and compilers. A user's project normally starts
with a template file, named with a prefix to denote the project and
a standard suffix .tpl
. This file must go through three
processing steps: conversion to C/C++ code, compilation by a
specified compiler, and linking with ADMB libraries.
The reulting command depends on the operating system, compiler,
processing step, and two binary options (safe/optimized;
normal/random effects). In principle, the three processing steps and
two binary options give 3x2x2=12 possibilities. However, conversion
doesn't depend on the “safe/optimized” choice, and compilation
doesn't depend on “normal/random effects”. This reduction leaves
only 8 possibilities, specified by an index
in the range
1:8.
A variable in a Command
string is designated by the prefix
character @
. We use this for convenient string substitution
by parseCmd
, the function that translates database strings
into actual ADMB commands.
The subdirectoy .../ADMB/scripts
in the installed package
contains an Excel spreadsheet, used as the source file for this
database. Currently, our database is incomplete, and we heartily
encourage the ADMB community to make contributions for additional
operating systems and compilers.
Jon T. Schnute, Pacific Biological Station, Nanaimo BC