TomHarrop/singularity-containers:r_3.5.2
$ singularity pull shub://TomHarrop/singularity-containers:r_3.5.2
Singularity Recipe
Bootstrap: docker
From: rocker/verse:3.5.2
%help
Container for plotting with R data.table and ggplot2
%labels
MAINTAINER "Tom Harrop"
VERSION "R 3.5.2"
%post
# install depenedencies
apt-get update
apt-get install -y \
libbz2-dev \
liblzma-dev \
libpcre++-dev
# install packages from bioconductor
Rscript -e "options(Ncpus=8); \
source('https://bioconductor.org/biocLite.R') ; \
biocLite(c(\
'Cairo', \
'cowplot', \
'data.table', \
'extrafont', \
'ggimage', \
'ggtree', \
'UpSetR', \
'sysfonts', \
'VennDiagram'), \
type='source', ask=FALSE)"
# install lato
wget -O "lato.zip" \
http://www.latofonts.com/download/Lato2OFL.zip
unzip lato.zip
mv Lato2OFL /usr/share/fonts/truetype/
rm lato.zip
fc-cache -f -v
Rscript -e "library('extrafont') ; \
font_import(prompt=FALSE) ; \
loadfonts()"
%runscript
exec /usr/local/bin/R "$@"
Collection
- Name: TomHarrop/singularity-containers
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/TomHarrop-singularity-containers-r_3.5.2 |
collection name | TomHarrop/singularity-containers |
branch | master |
tag | r_3.5.2 |
commit | ab0dfe940f1c57cacc6f7b0f0588e5fa0b560f54 |
version (container hash) | f4e1feb1a9776e3e255c8fafeb033219 |
build date | 2019-02-01T14:00:53.188Z |
size (MB) | 2510 |
size (bytes) | 940613663 |
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.