WSL/SLF GitLab Repository

Commit 8e696206 authored by Rafael Wüest Karpati's avatar Rafael Wüest Karpati
Browse files

add r and jags container examples

parent c47f3624
......@@ -5,7 +5,7 @@ From: ubuntu:20.04
includes R and circuitscape (run in julia)
%labels
Author Rafael O. Wüest (WSL)
Author Rafael Wüest Karpati (rafael.wueest@wsl.ch)
%post
export DEBIAN_FRONTEND=noninteractive
......
Bootstrap: docker
From: ubuntu:18.04
%help
This is a ubuntu build with R and JAGS, and the R-packages rjags as well as R2jags to run JAGS from within R
%labels
Author Rafael Wüest Karpati (rafael.wueest@wsl.ch)
%post
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
apt-get -y install r-base
apt-get -y install jags
Rscript -e 'install.packages("rjags", repos="https://stat.ethz.ch/CRAN/")'
Rscript -e 'install.packages("R2jags", repos="https://stat.ethz.ch/CRAN/")'
File added
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment