Open gusbemacbe opened 3 years ago
Try ./Microsoft.R.Host --help
It seems OK:
OK, this part works. "r.interpreterPath": "/usr/bin/radian"
appears to be the issue. Interpreter location is where R dynamic library is loaded by the extension. So it needs to be actual R installation OR where the libR.so
is in Radian. Basically extension appends lib/libR.so
to the interpreter path and then calls dlopen
on it. If Radian structure is different, you can use Radian in terminal/console and have stock R installed matching the Radian version.
I have replaced "r.interpreterPath": "/usr/bin/radian"
with "r.interpreterPath": "/usr/lib/R/lib/libR.so"
, and I received this error:
Looking at @wlandau's topic, I tested with:
dotnet Microsoft.R.Host.Broker.dll
: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using '/home/gusbemacbe/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using '/home/gusbemacbe/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Production
Content root path: /home/gusbemacbe/.vscode-insiders/extensions/mikhail-arkhipov.r-0.0.25/ls
Now listening on: http://0.0.0.0:5444
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://0.0.0.0:5444/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://0.0.0.0:5444/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 132.4333ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 132.4333ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://0.0.0.0:5444/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://0.0.0.0:5444/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.5004ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.5004ms 404
It should be /usr/lib/R
or just delete it so extension can auto-pick R.
It should be
/usr/lib/R
or just delete it so extension can auto-pick R.
I deleted it and received the error:
With "r.interpreterPath": "/usr/lib/R"
, it worked.
OK then. I'll check why /usr/lib/R
is not found automatically.
I am having a similar problem. I get the same error as up top, and have gone through the steps listed above and have gotten similar outputs. R is installed in /usr/bin/R
based on the results below
> which R
/usr/bin/R
Searching through all my files shows that libR.so
is in /usr/lib64/R/lib/
.
I am on openSUSE Tumbleweed.
What would I do in this case to resolve the issue?
I am using Manjaro Linux. I applied:
I have
dotnet-host
,dotnet-sdk
anddotnet-runtime
whose version is 5. I havebinutils
,gcc
,gcc-fortran
, R andradian
installed.After all this, I received an error:
Following the tutorial from #72. I have tested, running the command:
And