makeAD                package:PBSadmb                R Documentation

_M_a_k_e _a_n _E_x_e_c_u_t_a_b_l_e _B_i_n_a_r_y _F_i_l_e _f_r_o_m _a _C _F_i_l_e

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

     Essentially a wrapper function that calls in sequence: 'convAD',
     'compAD', and 'linkAD'.

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

     makeAD(prefix, raneff=FALSE, safe=TRUE, logfile=TRUE, verbose=TRUE)

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

  prefix: string name prefix of the ADMB project (e.g., '"vonb"').

  raneff: logical: use the random effects model, otherwise use the
          normal model.

    safe: logical: if 'TRUE', use safe mode with bounds checking on all
          array objects, otherwise use optimized mode for fastest
          execution.

 logfile: logical: if 'TRUE', create a log file of the messages from
          the shell call.

 verbose: logical: if 'TRUE', report the shell call an its messages to
          the R console.

_D_e_t_a_i_l_s:

     This function uses the C++ comiler declared in '.ADopts'. If
     'logfile=TRUE', any errors will appear in ''prefix'.log'. If
     'verbose=TRUE', they will appear in the R console.

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

     Returns nothing. The three functions called by 'makeAD' each 
     return the shell call and its messages.

_N_o_t_e:

     A wrapper function that can be called from a GUI exists as
     '.win.makeAD'.

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

     Jon T. Schnute, Pacific Biological Station, Nanaimo BC, Canada

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

     'convAD', 'compAD', 'linkAD', 'cleanAD'

