Describe the bug
On an M1 mac, the server fails to start with RProvider reporting the following error:
open RProvide[Loading /var/folders/vv/6nxs3fln151b5f_wjrcy5rp80000gn/T/nuget/81998--148befe4-c22a-4555-9c97-3cd33e821eb1/Project.fsproj.fsx]
Binding session to '/Users/andrewmartin/.nuget/packages/pipemethodcalls/3.0.4/lib/netstandard2.0/PipeMethodCalls.dll'...
A fatal error occurred. The required library libhostfxr.dylib could not be found.
If this is a self-contained application, that library should exist in [/Users/andrewmartin/.nuget/packages/rprovider/2.0.1-beta2/lib/net5.0/server/osx-x64/].
If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet/x64] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].
The .NET runtime can be found at:
- https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.11.0-x64&apphost_version=5.0.11
/var/folders/vv/6nxs3fln151b5f_wjrcy5rp80000gn/T/nuget/81998--148befe4-c22a-4555-9c97-3cd33e821eb1/Project.fsproj.fsx(19,1): error FS3053: The type provider 'RProvider.RProvider' reported an error: The type provider constructor has thrown an exception: Failed to start the R.NET server within 20 seconds.To enable logging set RPROVIDER_LOG to an existing file name.
To Reproduce
Steps to reproduce the behavior:
Install .NET 6 SDK arm64 on macOS
Run dotnet fsi
Send '#r "nuget:RProvider,2.0.1-beta2"'
See error
Expected behavior
Works
Screenshots
NA
Environment (please complete the following information):
OS: macOS
OS Version: big sur
Using in script or library: FSI
RProvider Version 2.0.1-beta2
Installed R Version 4.1.1
Additional context
Add any other context about the problem here.
Describe the bug On an M1 mac, the server fails to start with RProvider reporting the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior Works
Screenshots NA
Environment (please complete the following information):
Additional context Add any other context about the problem here.