Repository navigation
Releases
Releases · OndrejMottl/r-version-switcher
v1.2.0
Changed
- Writes
r.executablePathandr.consoleArgs(vscode-R 3.x) instead of the deprecatedr.rpath.<platform>andr.rterm.option. Switching a workspace removes the deprecated settings;R: Use R Version from renv.lockalso rewrites a workspace that already uses the right version through them. - If R Debugger is installed,
r.rpath.<platform>is kept and set to the same value asr.executablePath, since R Debugger reads only that setting and would otherwise start the first R onPATH. - Uses rig's version link on
PATH(R-4.5.1.exeon Windows,R-4.5.1elsewhere) instead of the full path toR.exewhen the link exists, so.vscode/settings.jsonholds no install path and can be committed. - Keeps the console arguments already in effect (your own, the ones in the deprecated
r.rterm.option, or vscode-R's default) and only sets--r-binary. - Rollback restores the workspace values only, instead of copying user settings into the workspace.
- Repository links and author in
package.json,LICENSE, README, CONTRIBUTING and CHANGELOG.
Fixed
R: Show Current Versionresolves a version link onPATHinstead of reporting it as an invalid path.
Install
Download r-version-switcher-1.2.0.vsix below, then run code --install-extension r-version-switcher-1.2.0.vsix or use Extensions: Install from VSIX.... Requires vscode-R and rig.