cleanAD {PBSadmb} | R Documentation

## Clean ADMB-Generated Files from the Working Directory

### Description

Detects files in the working directory with the specified `prefix` and removes them all save those with the suffix `.tpl`, `.dat`, and `.pin`.

### Usage

    cleanAD(prefix)

### Arguments

`prefix` | string name prefix of the ADMB project (e.g., `"vonb"`).

### Details

Aside from potential garbage files with the specified `prefix`, other files associated with ADMB are detected. Also files `*.tmp` and `*.bak` are displayed. Calling `cleanAD` invokes the hidden function `.cleanUp`, which creates a GUI menu of the potential garbage files. The user can select whichever files s/he wishes for disposal.

### Value

Returns nothing. Invokes a GUI menu of potential garbage files.

### Note

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

### Author(s)

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

### See Also

`makeAD`, `runAD`, `readRep`

[Package PBSadmb version 0.61.44 Index]