Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
},
"workbench.welcomePage.walkthroughs.openOnInstall": false
"workbench.welcomePage.walkthroughs.openOnInstall": false,
"r.libPaths": ["/usr/local/lib/R/site-library"]
},
"extensions": [
"REditorSupport.r",
"mads-hartmann.bash-ide-vscode",
"johnstoncode.svn-scm",
"ms-vscode.cpptools",
"MS-vsliveshare.vsliveshare"
"MS-vsliveshare.vsliveshare",
"natqe.reload"
]
}
},
Expand Down
4 changes: 3 additions & 1 deletion docs/tutorials/contribution_workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ make
may skip this step while you are iterating on a bug fix or other development,
until you are ready to [create a patch](./patch_update.md).

- To use the re-built R, simply open a new R terminal.
- To use the re-built R, simply open a new R terminal. If you have made changes
to the help files, click "Reload" in the VS Code status bar (bottom right) to
reload your VS Code window.

#### 4. Cross check and Re-running Code

Expand Down
3 changes: 2 additions & 1 deletion scripts/which_r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ which_r() {
fi

# Update settings.json with the chosen R path
updated_settings_data=$(cat "$settings_file_path" | jq --arg subdir "$selected_version" '."r.rterm.linux"=$subdir')
updated_settings_data=$(cat "$settings_file_path" | jq --arg subdir "$selected_version" '."r.rterm.linux"=$subdir | ."r.rpath.linux"=$subdir')
echo "$updated_settings_data" > "$settings_file_path"

echo "R terminal will now use version: $selected_version"
echo "To update the HTML help, click \"Reload\" in the VS Code status bar (bottom right) to reload your VS Code window."
}