10 lines
664 B
Bash
10 lines
664 B
Bash
#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'
|