Closed siavash-babaei closed 2 years ago
Till #205 is complete. I haven't got a chance to test that yet.
@zyzhu let me know if I can help with testing, thought I cannot see how I can beyond unit tests really. I do have a fair bit on my plate but will find time if I can help with something - I know how it is to maintain.
Hi,
A very nice brilliant feature with many thanx to the authors and maintainers.
Cheerio
Closing as addressed by merge in #210 with R 4.x support on latest .net release
Hi lads, pursuant to the post:
https://stackoverflow.com/questions/55543358/cant-use-latest-versions-of-rprovider-initialization-of-r-net-failed)
I have the same/similar issue. Everything was OK while running R 3.4.3 x64 (Microsoft R Client), but RProvider failed after upgrades to R 3.5.3 x64 (Microsoft R Open) or R 3.6.0 x64.
_[2019-06-10 20:45:32] [Pid:14680, Tid:1, Apid:1] engine: Creating and initializing instance (sizeof<IntPtr>=8)
[2019-06-10 20:45:32] [Pid:14680, Tid:1, Apid:1] engine: Creating instance failed:
System.Exception: This 64-bit process failed to load the library C:\Program Files\R\R-3.6.0\bin\x64\R.dll. Native error message is 'The specified module could not be found'
at DynamicInterop.UnmanagedDll.ThrowFailedLibraryLoad(String dllFullName, String nativeError)
at DynamicInterop.UnmanagedDll..ctor(String dllName)
at RDotNet.REngine..ctor(String id, String dll)
at RDotNet.REngine.CreateInstance(String id, String dll)
at RDotNet.REngine.GetInstance(String dll, Boolean initialize, StartupParameter parameter, ICharacterDevice device)
at RProvider.Internal.RInit.engine@119.Invoke() in C:\FSharp\RProvider\src\RProvider\RInit.fs:line 126_
UPDATE: For R 3.4.3, in Windows 10 x64, setting the R_HOME environment variable and adding "../bin/x64" to the path variable solves the issue, it seems. Weird/Problematic though, requiring to do just that ... No luck for 3.5.3 or 3.6.0 so far ....