diff --git a/.bash_aliases b/.bash_aliases new file mode 100644 index 0000000..6186d3a --- /dev/null +++ b/.bash_aliases @@ -0,0 +1,9 @@ +#Docker images with all the R packages I have ever used +alias r-full='docker run -ti --rm -v ./:/R-Code/ acg/r_full:latest bash' #Pull in the current directory into the docker image. Enter the image to modify with a r vim IDE preloaded. +alias r-full-script='docker run -v ./:/R-Code/ acg/r_full:latest Rscript' #Run a r-file as a script rather than Interactively +#Docker images with minimal packages loaded to save space +alias r-min='docker run -ti --rm -v ./:/R-Code/ acg/r_minimal:latest bash' +alias r-min-script='docker run -v ./:/R-Code/ acg/r_minimal:latest Rscript' + +#Remove docker images +alias docker-prune='docker system prune --all --volumes --force'