findjags               package:runjags               R Documentation

_A_t_t_e_m_p_t _t_o _L_o_c_a_t_e _a _J_A_G_S _I_n_s_t_a_l_l

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

     Search the most likely locations for JAGS to be installed on the
     users system, based on the operating system, and return the most
     likely path to try.  Where multiple installs exist, findjags will
     attempt to return the path to the install with the highest version
     number.  For Unix systems, calling jags using 'jags' requires the
     jags binary to be in the search path, which may be specified in
     your user '.Profile' if necessary.

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

     findjags(ostype = .Platform$OS.type)

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

  ostype: the operating system type.  There is probably no reason to
          want to change this...

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

     A path or command for the most likely location of JAGS on the
     system.  On unix this will always be 'jags', on Windows for
     example "C:/Program Files/JAGS/bin/jags-terminal.exe" or
     "C:/Program Files/JAGS/JAGS-1.0.0/bin/jags-terminal.exe"

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

     Matthew Denwood m.denwood@vet.gla.ac.uk funded as part of the
     DEFRA VTRI project 0101.

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

     'testjags', 'run.jags'

_E_x_a_m_p_l_e_s:

     findjags()

