Skip to content
37 changes: 37 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"image": "ghcr.io/insightsengineering/rstudio:latest",
Comment thread
m7pr marked this conversation as resolved.
Comment thread
pawelru marked this conversation as resolved.
"name": "RStudio Dev Container",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Comment thread
m7pr marked this conversation as resolved.
Outdated

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
Comment thread
m7pr marked this conversation as resolved.
Comment thread
m7pr marked this conversation as resolved.
"REditorSupport.r",
"Ikuyadeu.r",
"quarto-dev.quarto",
"RDebugger.r-debugger"
],
"settings": {
// Try radian first if available, otherwise fall back to R
"r.rterm.linux": "/usr/local/bin/radian",
Comment thread
m7pr marked this conversation as resolved.
"r.rpath.linux": "/usr/bin/R",
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.plot.useHttpgd": true
}
}
},

// Mount the workspace folder
"workspaceFolder": "/workspace",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind"
}
Loading