editAD: Edit ADMB Files

View source: R/PBSadmb.r

editADR 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, Scientist Emeritus
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
Last modified Rd: 2018-09-28

See Also

editADfile, setADpath


PBSadmb documentation built on Nov. 11, 2023, 1:07 a.m.