Set up path information by reading from a pathfile
(default = ADpaths.txt
) and checking that certain executable
files exist.
setupAD(pathfile)
string name of 2-column text file that details the
relevant paths for the R variables admbpath
, gccpath
, and editor
.
Jon T. Schnute, Scientist Emeritus
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
Last modified Rd: 2014-02-27
This program is useful primarily for console-based function calls.
It sets up the background options for PBSadmb functions (convAD
,
compAD
, linkAD
) by reading paths from a file and checking
to make sure that they are valid (i.e., contain certain exectuable files like
tpl2cpp
and g++
). The options are store in a PBSoptions class
objects called .PBSadmb
in the temporary environment .PBSadmbEnv
.
readADpaths
, checkADopts
,
makeAD