ADMBcmd {PBSadmb} | R Documentation

## Database of ADMB Command Scripts

### Description

Command scripts for ADMB's convert, compile, and link routines

### Usage

    data(ADMBcmd)

### Format

A data frame with the following 8 variables:

`OS`
  operating system
`Comp`
  C++ compiler type
`Index`
  index that indicates convert, compile or link with options: safe or optimize, random effects or normal.
`Step`
  description of processing step (convert, compile, or link)
`Safe`
  logical: if `TRUE` use safe mode; if not, use optimise mode.
`RanEff`
  logical: if `TRUE` use random effects model; if not, use normal model.
`Command`
  the command suitable for specified combination of `Step`, `Safe`, and `RanEff`
`Comment`
  comment about the command, if any

### Details

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.

### Source

Jon T. Schnute, Pacific Biological Station, Nanaimo BC

### See Also

`parseCmd`

[Package PBSadmb version 0.61.44 Index]