This repository serves as a template for quickly getting started with R, RStudio and Quarto in GitHub Codespaces. It provides a base configuration that you can use to create your own development environment in the cloud.
This template is inspired by David Smith's RStudio Codespaces Template. Link to his presentation videos: YouTube | RStudio
GitHub Codespaces is a cloud-based development environment that lets you code from anywhere using a web browser or VS Code. It provides:
- A fully configured development environment in seconds
- Cloud-hosted development environments
- Access to your workspace from any device
- Customizable container configurations
- Seamless GitHub integration
- Click the "Use this template" button at the top of this repository
- Choose a name for your new repository
- Select whether you want the repository to be public or private
- Click "Create repository from template"
- Once created, click the "Code" button and select "Open with Codespaces"
- Click "New codespace" to launch your development environment
You can customize your Codespace by:
- Modifying the
.devcontainerfolder - Adding development dependencies
- Configuring VS Code settings
- Installing additional extensions
To make your customizations available in future Codespaces:
- Keybindings: Update
.devcontainer/keybindings.json - VS Code settings: Modify the settings in
.devcontainer/devcontainer.json - R packages: Add them to the Dockerfile
- VS Code extensions: Add them to the extensions list in
devcontainer.json
Remember to commit and push your changes to the repository to make them available in future Codespaces.
- R 4.4 with tidyverse
- RStudio Server
- Quarto CLI
- JupyterLab with IRkernel
- Python support
- tidyverse (core tidyverse packages)
- here
- tidymodels
- markdown
- gtsummary
- ggsurvfit
- survival
- gt
- quarto
- rmarkdown
- languageserver
- WeightIt
- MatchIt
- MatchThem
- cobalt
- smdi
- encore.analytics
- Jupyter
- Jupyter Renderers
- Python
- Pylance
- CodeTour
- GitHub Copilot
- Quarto
- RStudio: 8787
- JupyterLab: 8888