Re: [R] Trying to install rjags on Mac OS X 10.5 -- problem solved

From: Lindsay Stirton <>
Date: Wed, 2 Jan 2008 19:54:43 +0000

Dear R Users,

Thanks to the suggestions of a few of you, I have solved the problems I have had
getting rjags running on Mac OS X 10.5. In the hope that others in future might
benefit, I set out here how the problem was solved.

  1. The problem of gfortran not installing properly was fixed as per this post - Accordingly, the following fix allowed it to install properly

sudo rm /usr/local/lib
sudo mv '/usr/local/lib 1' /usr/local/lib

2. Vincent Nijs suggested I add the following to .bashrc.

export LD_LIBRARY_PATH="/usr/local/lib"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

I cannot say whether this was necessary or not; it was not sufficient.

3. Finally, thanks to Rob Goedman, I did a clean install of pkg-config, compiling it myself. I had previously used Macport to install a port of pkg-config, and R for some reason didn't seam to like this.

After that, sudo R CMD INSTALL rjags_1.0.1-1.tar.gz worked fine.

Best wishes,

Lindsay Stirton mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 02 Jan 2008 - 19:56:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Jan 2008 - 21:30:04 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive