Installing R and JAGS on Apple Mac OS
I don't have an Apple computer, but I have picked up some hints
about installing R and JAGS on a Mac from trying to
trouble-shoot friend's installations.
June 2016: I now do have a Mac!|
People seem to run into
problems with different versions of the Mac OS, R, JAGS and the
Check your Mac OS version!
From the Apple menu, choose About This Mac; the version number appears below the name. Note whether you have v. 10.9 (Mavericks) or later. If you have an earlier version, upgrade your OS before going further.
The latest version of R (R 3.4.1 as at 13 Aug 2017) is only available for OS X 10.9 or later. Don't try to install it on older versions.
If you have OS X 10.6 - 10.8, you can still install an old version of R, 3.2.1, but be prepared to sort out the tangle of compatibility issues which result.
Installers for new and old OS's are here; be sure to select the right one for your machine.
When you open R, you may get a slew of warnings:
This needs to be fixed, or R will have problems reading the package code. For instructions on how to fix it, look at Section 7 of the help file suggested in the message or go to Stackoverflow.
The older version of JAGS (JAGS 3.4.0) is still available, but only use that if you want a complicated life.
JAGS does not appear in Applications. To check that it's installed properly, open the Terminal and type "jags". You should get a message telling you which version is installed. Type "exit" to close JAGS. If you tried to install JAGS 4 on an old OSX, you will get an error message.
| Updated 13 August
2017 by Mike Meredith|