alikerr/R2jags-image:latest
$ singularity pull shub://alikerr/R2jags-image:latest
Singularity Recipe
Bootstrap: docker
From: rocker/r-ver:latest
%post
apt-get update
apt-get install -y libssl-dev libsasl2-dev jags autoconf automake
apt-get install -y curl wget libudunits2-dev bash libicu-dev libeigen3-dev
apt-get install -y gcc-multilib g++-multilib
# generic R packages
R -e "install.packages('ggplot2')"
R -e "install.packages('tidyr')"
R -e "install.packages('stringr')"
R -e "install.packages('data.table')"
R -e "install.packages('reshape2')"
R -e "install.packages('digest')"
R -e "install.packages('lattice')"
R -e "install.packages('colorspace')"
R -e "install.packages('labeling')"
R -e "install.packages('mvtnorm')"
#R2Jags
R -e "install.packages('boot')"
R -e "install.packages('coda')"
R -e "install.packages('rjags')"
R -e "install.packages('dclone')"
R -e "install.packages('R2jags')"
#R2OpenBUGS
wget http://pj.freefaculty.org/Ubuntu/15.04/amd64/openbugs/openbugs_3.2.3.orig.tar.gz
tar xzf openbugs_3.2.3.orig.tar.gz
cd openbugs-3.2.3
./configure
make && make check && make install
R -e "install.packages('R2OpenBUGS')"
#HPC directories just in case
mkdir /global
mkdir /global/scratch
mkdir /scratch
mkdir /project
%run
R --version
Collection
- Name: alikerr/R2jags-image
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/alikerr-R2jags-image-latest |
collection name | alikerr/R2jags-image |
branch | master |
tag | latest |
commit | 0a276cfe4801bdcb17fa160176c6c009934ceaba |
version (container hash) | 2e31700da27566eba46a44ad18181927 |
build date | 2019-06-23T23:32:49.262Z |
size (MB) | 1484 |
size (bytes) | 439549983 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.