fslaborg / RProvider

Access R packages from F#
http://fslab.org/RProvider/
Other
235 stars 69 forks source link

RProvider cannot find R.NET assembly #190

Closed MikaelUmaN closed 5 years ago

MikaelUmaN commented 6 years ago

After

dotnet new console -lang F# -o testApp

and Install-Package RProvider

You get some warnings that it may not be compatible with .NET CORE 2.0. But all dependencies seem to have been found. The provider cannot find the R.NET assembly, however. The logs show:

[4/1/2018 3:07:00 PM] [Pid:7008, Tid:1, Apid:1] Attempting resolution for 'RDotNet, Version=1.6.5.0, Culture=neutral, PublicKeyToken=null' [4/1/2018 3:07:00 PM] [Pid:7256, Tid:1, Apid:1] Got some server [4/1/2018 3:07:00 PM] [Pid:7008, Tid:1, Apid:1] Probing locations: C:\Users\mikae.nuget\packages\rprovider\1.1.20\lib\net40......\1.1.20\lib\net40 [4/1/2018 3:07:00 PM] [Pid:7008, Tid:1, Apid:1] Assembly not found!

But I can find the dll here: C:\Users\mikae.nuget\packages\r.net.community\1.6.5\lib\net40

So I'm not sure what's going on...

MikaelUmaN commented 6 years ago

Somehow It was possible to run by copying all required dlls to the rprovider net40 library and then adding a bunch of assemblies to the Visual Studio 2017 package.

I guess running on the free Visual Studio 2017 and .NET Core 2.0 is not recommended...

deps

zyzhu commented 5 years ago

@MikaelUmaN RProvider hasn't supported netstandard yet. But the latest release 1.1.21 shall work properly in the classic .net framework. You could try that instead.

MikaelUmaN commented 5 years ago

Thanks. I tried this when I just started switching from Java to .NET and was a bit behind on the whole dotnet-core, netstandard and netfx thing. Looking at the dependencies now, I get that this provider is blocked by an update for RDotNet to netstandard2.0