Skip to content

Commit 557ccbb

Browse files
authored
Add local VSCode setup instructions to README
Added instructions for using VSCode with CCR.
1 parent b73667d commit 557ccbb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,27 @@ apptainer run \
120120
--bind $APPTAINER_CACHEDIR/run:/run \
121121
$SIF_PATH/$SIF_FILE R
122122
```
123+
## Local VSCode Method
124+
125+
1) Install Extensions:
126+
1) R
127+
2) R Syntax
128+
3) Quarto (optional)
129+
2) Mount CCR via SSHFS or Mountain Duck
130+
3) VSCode
131+
1) Confirm R extension settings:
132+
2) r.alwaysUseActiveTerminal True: Forces code to be sent to whatever terminal is active, no questions asked.
133+
2) Open project directory on CCR (vortex) through the mounted path
134+
3) Open a Local Integrated Terminal (Terminal → New Terminal)
135+
4) In VS Code Terminal:
136+
137+
```
138+
ssh vortex.ccr.buffalo.edu
139+
salloc --cluster=faculty --qos=adamw --partition=adamw \
140+
--job-name=InteractiveJob --nodes=1 --ntasks=4 \
141+
--mem=10G -C INTEL --time=03:00:00
142+
```
143+
Then open the container using the code above.
123144

124145
## Use CCR OnDemand
125146
You can also use CCR OnDemand

0 commit comments

Comments
 (0)