Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.41 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.41 KB

BUGS-on-Mac

How to install WinBUGS and OpenBUGS on Mac

OpenBUGS

This document is originally from here!

  1. Install Homebrew.

  2. Open the terminal on your Mac and type: brew install wine

  3. Download the setup program for OpenBUGS on Windows from here (current version: OpenBUGS323setup.exe).

  4. Still in Terminal, navigate to the directory where the setup program was downloaded.

    • Use cd to change directories and ls to check the files in your current directory.
    • Probably, it will be in Downloads folder (i.e., type cd Downloads)
  5. Once you are in the right directory, type: wine OpenBUGS323setup.exe

  6. OpenBUGS is now successfully installed! To check whether it is working properly, run R2OpenBUGS.R file from this repository.

    • The only thing you have to edit in the R file is the directory where OpenBUGS was installed.
    • Use CMD + SHIFT + . in Finder to check the hidden directory such as ".wine" folder.

WinBUGS

This one is much simpler!

  1. Download WinBUGS from here.
  2. To check whether it is working properly, run WinBUGS.R file from this repository.
    • Again, you have to specify the directory where WinBUGS was installed.
    • Probably, it will be in Downloads folder.