forked from gshamov/INLA-RImage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSingularity
More file actions
42 lines (32 loc) · 1.35 KB
/
Singularity
File metadata and controls
42 lines (32 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Bootstrap: docker
From: rocker/r-ver:latest
%post
apt-get update
apt-get install -y libssl-dev libsasl2-dev jags wget
apt-get install -y curl httpie libudunits2-dev
#apt-get install -y gdal-bin gdal-data libgdal-dev libgdal-grass libgdal-java
R -e "install.packages('ggplot')"
R -e "install.packages('jsonlite')"
R -e "install.packages('dplyr')"
R -e "install.packages('ggplot2')"
R -e "install.packages('igraph')"
R -e "install.packages('Matrix')"
R -e "install.packages('shiny')"
R -e "install.packages('rjags')"
R -e "install.packages('dclone')"
R -e "install.packages('sp')"
R -e "install.packages('lme4')"
R -e "install.packages('MASS')"
R -e "install.packages('psych')"
# echo "DONE with dependencies?"
# sleep 10
R -e 'install.packages("INLA", repos="https://inla.r-inla-download.org/R/stable")'
R -e 'update.packages("INLA", dep=TRUE)'
R -e 'download.file("https://i-pri.org/special/Biostatistics/Software/gINLAnd/gINLAnd_0.0.0.tar.gz", "gINLAnd")'
R -e 'install.packages("gINLAnd", repos = NULL, type = "source")'
mkdir /global
mkdir /global/scratch
mkdir /scratch
mkdir /project
%run
R --version