GitHub - jmgirard/rstudio2u: Docker image adding RStudio to r2u (original) (raw)
rstudio2u
Adds RStudio Server, pandoc, and Quarto to r2u, works on AMD64 and ARM64 (e.g., Apple Silicon)
Binary package installation from within R via bspm for faster installs and smaller image size
Tag | Compressed | On Disk | R version |
---|---|---|---|
noble-amd64 | 646.91 MB | 2.13 GB | 4.5.0 |
noble-arm64 | 645.06 MB | 2.89 GB | 4.5.0 |
Use Examples
Option 1: Pull and run from Dockerhub
- Install and open Docker Desktop
- Enter the following command in your terminal
docker pull jmgirard/rstudio2u
docker run --rm -p 8787:8787 -e PASSWORD=pass -t jmgirard/rstudio2u
- Navigate to https://localhost:8787 and enter user
rstudio
and passwordpass
- Whenever you use
install.packages()
orupdate.packages()
, it will use bspm - When done, open Docker Desktop and end the container
- Next time, you don't need to run
docker pull...
again
Option 2: Clone, build, and compose
- Install and open Docker Desktop
- Install Git
- Enter the following command in your terminal
git clone https://github.com/jmgirard/rstudio2u
cd rstudio2u
docker-compose up --build
- Navigate to https://localhost:8787 and enter user
rstudio
and passwordpass
- Whenever you use
install.packages()
orupdate.packages()
, it will use bspm - When done, open Docker Desktop and end the container
- Next time, you don't need to run
git clone...
again
Derivative Images
- jmgirard/rocker-bayes - Adds CmdStan and R packages for Bayesian data analysis
- jmgirard/wsl-whisper - Adds CUDA Toolkit and R packages for AI speech recognition