vscode-r
vscode-r copied to clipboard
Error: spawn dotnet ENOENT
Linux version 3.10.0-957.el7.x86_64 R Tools v0.0.31 dotnet 6.0.412 code-server --version : 1.81.1 6c3e3dba23e8fadc360aed75ce363ba185c49794 x64 error: [Error - 3:27:27 AM] R Tools client: couldn't create connection to server. Launching server using command dotnet failed. Error: spawn dotnet ENOENT
On Linux the issue might be with permissions. When installing extension with binary native module VS Code, unfortunately, does not set executable permissions. The extensions attempts to fix this at first launch, but maybe something failed. Try Ctrl+Shift+P (Open Extensions Folder), then check if Microsoft.R.Host
exists in extensions/mikhail-arkhipov.r-0.0.31/ls/Host/Linux
and if you can launch Microsoft.R.Host --help
Also, what distro is it?
Here is Macos 14.0 (23A344)
I met the same problem. Microsoft.R.Host exists in ~/.vscode-insiders/extensions/mikhail-arkhipov.r-0.0.32/ls/Host/Linux. I'm not sure how to launch Microsoft.R.Host --help
? Could you give me some help?
Open terminal and change your working directory to ~/.vscode-insiders/extensions/mikhail-arkhipov.r-0.0.32/ls/Host/Linux
. Then ./Microsoft.R.Host --help
I'm on macOS 12.5.1, M2 chip
./Microsoft.R.Host --help
works fine in ls/Host/Mac/arm64
Still facing this error though:
R Tools client: couldn't create connection to server.
Launching server using command dotnet failed. Error: spawn dotnet ENOENT
Same result as @hubert-thieriot but on MacOS 14.2.1, M1 chip.
First, thank you for developing this extension. Full disclosure, I'm a VSCode newbie so this could be user error on my part...but I'm having the same issue as @hubert-thieriot and @sjmgarnier. MacOS 14.2.1, M2 chip. Please let me know if this has been addressed/solved in another issue or SO. Couldn't find anything specific to this issue, but I could have easily missed it. Thanks again.
@hubert-thieriot, @kpivert and @sjmgarnier do you have .NET installed. What happens if you run dotnet
Thanks, @MikhailArkhipov! Installing .NET resolved this for me. Didn't realize this was a requirement. Thanks again.