runAD                package:PBSadmb                R Documentation

_R_u_n _a_n _E_x_e_c_u_t_a_b_l_e _B_i_n_a_r_y _F_i_l_e

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

     Run the executable binary file ''prefix'.exe' that was created by 
     'makeAD'.

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

     runAD(prefix, argvec="", logfile=TRUE, add=TRUE, verbose=TRUE)

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

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

  argvec: string scalar/vector of arguments appropriate for the
          executable ''prefix'.exe'.

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

     add: logical: if 'TRUE', append shell call messages to an exsiting
          log file.

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

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

     This function typically reads the two files ''prefix'.dat' and
     ''prefix'.pin', although in same cases one or both of these files
     may not be necessary.

     If 'logfile=TRUE', output (including error messages, if any) will
     appear in ''prefix'.log'. If 'verbose=TRUE', it will appear in the
     R console.

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

     Invisibly returns the results of the shell call.

_N_o_t_e:

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

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

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

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

     'runMC', 'makeAD', 'cleanAD'

