editAD {PBSadmb} | R Documentation

## Edit ADMB Files

### Description

Edit files associated with specified prefix and suffixes.

### Usage

    editAD(prefix, suffix=c(".tpl",".cpp",".log"))

### Arguments

`prefix` | string name prefix of the ADMB project (e.g., `"vonb"`).
`suffix` | string scalar/vector specifying one or more suffixes.

### Value

Invisibly returns Boolean vector with elements `TRUE` if files exist, `FALSE` if they do not.

### Note

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

This function explicitly uses the editor chosen for PBSadmb. PBSmodelling has another function `openFile` that uses Windows file associations or an application specified with `setPBSext`.

### Author(s)

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

### See Also

`editADfile`, `makeADopts`

[Package PBSadmb version 0.61.44 Index]