This project provides a template RStudio development environment using Docker. It's designed to help you get started with R development quickly.
To start the RStudio server:
make startThis will:
- Start the RStudio server in a Docker container
- Open your default browser to http://localhost:8787
Note: The RStudio server is only accessible from localhost (127.0.0.1) for security reasons.
To stop the server:
make stop- System dependencies: Edit
Aptfileto add system packages - R packages: Edit
packages.Rto add R packages
After modifying either file, run:
make rebuildThis will rebuild the container with new dependencies while preserving your workspace data.
workspace/- Directory for your R scripts and analysis filesdata/- Directory for input data filespackages.R- Defines R package dependenciesAptfile- Defines system-level dependenciesDockerfile- Container configurationdocker-compose.yml- Container orchestration
- Rocker Project Documentation - Official documentation for Rocker Project's RStudio images
- Rocker RStudio Docker Image - Official Docker Hub repository for Rocker RStudio image
- Running RStudio Server with Docker - Blog post with detailed instructions on setting up RStudio Server with Docker