We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126d42c commit 7e3173fCopy full SHA for 7e3173f
vscode/scripts/install-vscode-extensions.sh
@@ -57,6 +57,16 @@ r_extensions=(
57
"RDebugger.r-debugger"
58
)
59
if command -v R &> /dev/null; then
60
+ # Install R kernel for jupyter notebooks
61
+ if command -v pip &>/dev/null; then
62
+ # First install the minimal jupyter-client python package to make R kernel available to jupyter notebooks
63
+ if command -v uv &>/dev/null; then
64
+ uv pip install --system --no-cache jupyter-client
65
+ else
66
+ pip install --no-cache-dir jupyter-client
67
+ fi
68
+ R -e "install.packages('IRkernel'); IRkernel::installspec()"
69
70
for extension in "${r_extensions[@]}"; do
71
install_extension $extension
72
done
0 commit comments