setADpath {PBSadmb} | R Documentation |
Create ADMB Options List
Description
Creates an options list object detailing the pathways to the ADMB home directory, the GCC home directory, the MSYS (Unix utilities) bin directoy, and the user's preferred text editor. Also keeps track of software versions for ADMB and GCC.
Usage
setADpath(admbpath, gccpath, msysbin, editor)
setADver(admbver, gccver)
Arguments
admbpath |
|
gccpath |
|
msysbin |
|
editor |
|
admbver |
|
gccver |
|
Value
Creates a global, hidden list object called .PBSadmb
,
located in the temporary environment .PBSadmbEnv
.
Use the functions atget
, atput
, atcall
, and
atprint
to get, put, call, and print the object .PBSadmb
.
The function alisp
lists all the objects in the .PBSadmbEnv
environment.
Note
These functions replace makeADopts
. The old control file called
ADopts.txt
is retained as a backup file system, which is accessed on
R session start-up and first call to the function admb
to initialize
the contents of the options manager .PBSadmb
and the GUI. However, if a
path file (e.g., ADpaths.txt
) exists, the paths in this file will
override those taken from ADopts.txt
.
Additionally, the ‘Verify’ button always consults the admb version file (if it exists) and the g++ executable to collect version information. If not available, version information is set to an empty string.
Author(s)
Alex Couture-Beil, Software Engineer, Victoria BC
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