runBugs                package:rbugs                R Documentation

_E_x_e_c_u_t_e _a _B_U_G_S _S_r_c_i_p_t _f_r_o_m _R

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

     Create the system command to run BUGS and execute it.

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

     runBugs(bugs=Sys.getenv("BUGS"), script, n.chains, workingDir,
             useWine=FALSE, wine=Sys.getenv("WINE"), verbose = TRUE)

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

    bugs: A character string specifying the full name (including path)
          of the BUGS executable. It must end with .txt to be
          recognizable by BUGS.

  script: A character string specifying the full name (including path)
          of the script to be run. It must end with .txt to be
          recognizable by BUGS.

n.chains: The number of MCMC chains.

workingDir: The working directory where the output files from BUGS are
          stored.

 useWine: A logical value indicating if wine is to be used.

    wine: A character string specifying the full name (including path)
          of the wine executable.

 verbose: If TRUE, print the log file from BUGS.

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

     None.

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

     Jun Yan jyan@stat.uiowa.edu

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

     'rbugs'

