-- JoAnnAlvarez - 01 Jul 2010
You can run OpenBUGS on a linux machine (once it's installed) in batch mode from within R by running the following R code:
system("OpenBUGS <OpenBUGSscript.txt> log.txt")
The system function sends its argument to the operating system. The part after "OpenBUGS" means that OpenBUGS should run your script called "OpenBUGSscript.txt" and record the log in "log.txt."