parseCmd {PBSadmb} | R Documentation

## Parse an Indexed ADMB Command

### Description

Parse an indexed ADMB command line for a specified `index`, operating system (`os`), and compiler (`comp`). The result depends on the project `prefix`, the path (`admpath`) to the ADMB home directory, and the path (`gccpath`) to the C++ compiler. Within the database, variables are denoted by leading `@` characters.

### Usage

    parseCmd(prefix, index, os=.Platform$OS, comp="GCC", admpath="", gccpath="")

### Arguments

`prefix` | prefix for the ADMB project.
`index` | index that indicates one of eight possibilities related to three processing steps (convert, compile, link) and options: safe or optimize, random effects or normal.
`os` | operating system
`comp` | C++ compiler description
`admpath` | explicit path for the ADMB home directory.
`gccpath` | explicit path for the C++ bin directory.

### Value

Character string, the ADMB command from `ADMBcmd` corresponding to the specified index, prefix, and system paths.

### Author(s)

Rowan Haigh, Pacific Biological Station, Nanaimo BC

### See Also

`ADMBcmd`

[Package PBSadmb version 0.61.44 Index]