This repository contains a VSCode devcontainer to set up a development environment for R programming. This environment was developed to be used with the Introduction to Quantitative Text Analysis for Linguistics textbook.
- R 4.4.1 based on the Rocker Project's image
- Quarto 1.3.450 and Pandoc 3.1.1
- Git configuration support
- Radian and Jupyter for enhanced R programming experience
- TinyTeX for LaTeX support
- Common R packages: devtools, httpgd, knitr, languageserver, renv, rmarkdown, tinytex
- Docker
- Visual Studio Code
- with Remote - Containers extension installed
- Clone this repository or use it as a reference for your own project.
- Ensure you have Docker and Visual Studio Code with the Remote - Containers extension installed.
- Open the cloned folder in Visual Studio Code.
- When prompted, click "Reopen in Container" to start the development environment.
Note
The container will take some time to build the first time you open it.
- Modify the
.devcontainer/Dockerfile
to add or remove system dependencies or R packages. - Adjust the
.devcontainer/docker-compose.yml
file to change container settings. - Edit the
.devcontainer/devcontainer.json
file to modify VS Code settings or extensions. - The container includes a non-root user 'ruser' with sudo privileges for better security.
Contributions are welcome! Please feel free to submit a Pull Request.