Dependency Hell

My system is: Mac OSX 10.10. Some things are hard to install. When I figure one of those hard ones out, I will post what worked for me

Table of Contents

JAGS/rjags

Bad

MacPorts, CRAN

Good

#######################################################
# Setup
#######################################################
# 1. Get JAGS: http://mcmc-jags.sourceforge.net/
#    BAD: sudo port install jags
#    GOOD: 
#
# 2. Have the R gfortran installed:
#    https://cran.r-project.org/bin/macosx/tools/
#    gfortran-4.2.3.pkg
#
# 3. Download rjags binary, then install
# 
#    http://sourceforge.net/projects/mcmc-jags/files/rjags/4/
#    rjags_4-3.tgz
# 
#    install.packages("~/Downloads/rjags_4-3.tgz", repos = NULL, type = .Platform$pkgType)
#
# 4. library(rjags)
# 
# 5. Get required packages
#
#required_packages = c("R2jags", "MASS", "MCMCpack", "abind", "random", "mclust")
#packages_to_install = #setdiff(required_packages,rownames(installed.packages()))
#if(length(packages.needed))
#    {
#    install.packages(packages.needed)
#    }
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License