vscode-r
vscode-r copied to clipboard
Unable to find R interpreter in ManjaroLinux/Arch Linux
I am using Manjaro Linux. I applied:
"r.interpreterPath": "/usr/bin/radian",
"r.rpath.linux": "/usr/bin/R",
"r.rterm.linux": "/usr/bin/radian",
"r.rterm.option": [""],
I have dotnet-host
, dotnet-sdk
and dotnet-runtime
whose version is 5. I have binutils
, gcc
, gcc-fortran
, R and radian
installed.
After all this, I received an error:
Unable to start Microsoft.R.Host process. Exception: R host process did not start on the machine. Exception: Unknown error 139
at Microsoft.R.Host.Client.BrokerServices.WebService.EnsureSuccessStatusCode(HttpResponseMessage response)
at Microsoft.R.Host.Client.BrokerServices.WebService.GetHttpPutResponseAsync(Uri uri, String requestBody, CancellationToken cancellationToken)
at Microsoft.R.Host.Client.BrokerServices.WebService.RepeatUntilAuthenticatedAsync[T](Func`2 action, CancellationToken cancellationToken)
at Microsoft.R.Host.Client.BrokerServices.WebService.HttpPutAsync[TRequest,TResponse](Uri uri, TRequest request, CancellationToken cancellationToken)
at Microsoft.R.Host.Client.Host.BrokerClient.CreateBrokerSessionAsync(String name, Boolean useRCommandLineArguments, Boolean isInteractive, CancellationToken cancellationToken)
Following the tutorial from #72. I have tested, running the command:
❯ /home/gusbemacbe/.vscode-insiders/extensions/mikhail-arkhipov.r-0.0.25/ls/Host/Linux/Microsoft.R.Host
zsh: segmentation fault (core dumped)
And
❯ ./Microsoft.R.Host --rhost-interactive /usr/share/R
zsh: segmentation fault (core dumped) ./Microsoft.R.Host --rhost-interactive /usr/share/R
❯ ./Microsoft.R.Host --rhost-interactive /usr/share/R/R
zsh: segmentation fault (core dumped) ./Microsoft.R.Host --rhost-interactive /usr/share/R/R
❯ ./Microsoft.R.Host --rhost-r-dir /usr/share/R/R
�zsh: segmentation fault (core dumped) ./Microsoft.R.Host --rhost-r-dir /usr/share/R/R
❯ ./Microsoft.R.Host --rhost-r-dir /usr/share/R
�zsh: segmentation fault (core dumped) ./Microsoft.R.Host --rhost-r-dir /usr/share/R