parseCmd               package:PBSadmb               R Documentation

_P_a_r_s_e _a_n _I_n_d_e_x_e_d _A_D_M_B _C_o_m_m_a_n_d

_D_e_s_c_r_i_p_t_i_o_n:

     Parse an indexed ADMB command line for a specified 'index',
     operating system ('os'), and compiler ('comp'). The result depends
     on the project 'prefix', the path ('admpath') to the ADMB home
     directory, and the path ('gccpath') to the C++ compiler. Within
     the database, variables are denoted by leading '@' characters.

_U_s_a_g_e:

     parseCmd(prefix, index, os=.Platform$OS, comp="GCC", admpath="", gccpath="")

_A_r_g_u_m_e_n_t_s:

  prefix: prefix for the ADMB project.

   index: index that indicates one of eight possibilities related to
          three processing steps (convert, compile, link) and options:
          safe or optimize, random effects or normal.

      os: operating system

    comp: C++ compiler description

 admpath: explicit path for the ADMB home directory.

 gccpath: explicit path for the C++ bin directory.

_V_a_l_u_e:

     Character string, the ADMB command from 'ADMBcmd' corresponding to
     the specified index, prefix, and system paths.

_A_u_t_h_o_r(_s):

     Rowan Haigh, Pacific Biological Station, Nanaimo BC

_S_e_e _A_l_s_o:

     'ADMBcmd'

