BwUniCluster2.0/Software/R/Rjags
< BwUniCluster2.0 | Software | R
Installation instructions
Consider starting an interactive job for compiling. Just copy paste this to your shell (please only copy line by line so you see errors fast).
module load math/R mkdir -p ~/src cd ~/src # copy the JAGS-4.3.0.tar.gz here # Build JAGS tar xf JAGS-4.3.0.tar.gz cd JAGS-4.3.0 ./configure --prefix=$HOME/sw make -j4 make install cd .. # Set up environment (you may want to put these lines in your ~/.bashrc as well) export PATH=$PATH:$HOME/sw/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/sw/lib export MANPATH=$MANPATH:$HOME/sw/man export CFLAGS=-I$HOME/sw/include export JAGS_LIBDIR=~/sw/lib # Install rjags package from within R session R -q install.packages("rjags") library("rjags")