readADpaths: Read ADMB Paths From a Text File

View source: R/PBSadmb.r

readADpathsR Documentation

Read ADMB Paths From a Text File

Description

Read or save ADMB paths (admbpath, gccpath, msysbin, editor) from or to a simple, 2-column text file where the first column gives the R variable name and the second column specifies the path (enclosed by double quotation marks “”).

Usage

readADpaths(pathfile)
saveADpaths(pathfile)

Arguments

pathfile

string name of 2-column text file that details the relevant paths for the R variables admbpath, gccpath, msysbin, and editor.

Details

The simplest way to pass valid paths to the options manager in PBSadmb is to supply a text file in the working directory. This file can be constructed easily using any text editor. An example might look like:

  admbpath "C:/admb"
  gccpath  "C:/mingw"
  msysbin  "C:/mingw/msys/bin"
  editor   "C:/Windows/System32/notepad.exe"
  

Note

On UNIX systems the MinGW compiler and UNIX tools are readily available; therefore, only the admbpath (path to ADMB's home directory) and the path to a text editor are needed.

The user can supply any number of paths in a pathfile, which are passed to the options manager; however, only the above four paths are used at present.

Author(s)

Rowan Haigh, Program Head – Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Offsite, Vancouver BC
Last modified Rd: 2018-09-28

See Also

readADopts, convAD, compAD, linkAD, makeAD


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