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 5bc250b commit 17591ffCopy full SHA for 17591ff
scripts/which_r.sh
@@ -3,7 +3,6 @@
3
which_r() {
4
# Specify the parent directory
5
parent_dir="$WORK_DIR/build"
6
- launch_script="$WORK_DIR/scripts/launch_r.sh"
7
8
# Path to the settings.json file
9
settings_file_path=$WORK_DIR/.vscode/settings.json
@@ -60,6 +59,9 @@ which_r() {
60
59
selected_version="/usr/bin/R"
61
fi
62
+ # Define launch script path here where it's actually used
63
+ launch_script="$WORK_DIR/scripts/launch_r.sh"
64
+
65
# Update launch_r.sh to call the selected R binary
66
if [ -f "$launch_script" ]; then
67
sed -i "s|^exec .*/R|exec $selected_version|" "$launch_script"
0 commit comments