radian: Can't get radian to start in Visual Studio Code: "The terminal process terminated with exit code: 1"
I have installed radian from Github
❯ radian --version 13:48:38
radian version: 0.4.8
r executable: /Library/Frameworks/R.framework/Resources/bin/R
r version: 3.6.3
python executable: /Users/andrew/miniconda/bin/python
python version: 3.7.4
and removed all R arguments:
"r.rterm.option": [],
"r.rterm.mac": "/Users/andrew/miniconda/bin/radian"
"r.alwaysUseActiveTerminal": true,
"r.sessionWatcher": true,
"r.lsp.use_stdio": true
This was working until I upgraded vscode insiders to the latest version yesterday. Now, I get the same error using the latest versions of both vscode and vscode insiders
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 28 (11 by maintainers)
So, after hours of frustration, I’ve finally managed to find the source of this. In some way or other I had managed to set the VSCode setting
"terminal.integrated.inheritEnv"tofalse. This should of course betrue, and then everything works as expected.Sorry for all the bother.
There is one more thing, though. How do you get
radianinstalled usingpipand Miniconda/Anaconda on MacOS? This does not work for me, I had to install usingpython setup.py install.@awellis : Thanks so much… I had the same issue
terminal.integrated.inheritEnvbut had no clue this setting existed, let alone what it meant. The reason why I post here, is that I think I know what caused setting the switch tofalsefor me: Updated VS Code from 1.4.something to 1.61.0 . After the update radian wasn’t running anymore precisely b/c of that flag.Well, I can start radian in a console:
The problem is that I can’t start radian from Visual Studio Code. Here are my VSCode settings:
Thank you, you fixed my issue!