forked from rpodcast/r_dev_projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
49 lines (43 loc) · 1.54 KB
/
Copy pathdevcontainer.json
File metadata and controls
49 lines (43 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.1/containers/r
{
"name": "R",
"build": {
"dockerfile": "Dockerfile",
},
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Add more local mounts to container
"mounts": [
"source=/opt/local/renv/cache,target=/renv/cache,type=bind,consistency=cached"
],
// Set *default* container specific settings.json values on container create.
"settings": {
//"terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.shell.linux": "/usr/bin/fish",
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.sessionWatcher": true,
"r.rterm.linux": "/usr/local/bin/radian",
"r.rterm.option": [
""
],
"r.autoDetect": "false",
"r.terminalPath": "/usr/local/bin/radian",
"r.interpreterPath": "/usr/local/bin/R"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ikuyadeu.r",
//"mikhail-arkhipov.r",
"REditorSupport.r-lsp",
"GrapeCity.gc-excelviewer",
"Mohamed-El-Fodil-Ihaddaden.shinysnip",
"RDebugger.r-debugger"
]
// 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": "R --version",
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "docker"
}