Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Edited Issue: Documentation for use on Mac/Linux is out of date [59]

$
0
0
The documentation at http://rdotnet.codeplex.com/documentation for using on Mac/Linux is out-of-date. Please update it!

* The page talks about using "REngine.SetDllDirectory". However this is out of date since "REngine.SetDllDirectory" doesn't exist and RDotNet.NativeLibrary.UnmanagedDll.SetDllDirectory(binPath) is marked obsolete.

* In OSX Mono on Mac OSX is 32-bit-only by default. R is 64-bit by default. You have to build a custom Mono from source using http://www.mono-project.com/Compiling_Mono_on_OSX. The issue is described in this discussion:

https://rdotnet.codeplex.com/discussions/461773

If you have a 32-bit mono, then you get failures of the "DLL not found" variety, because of a failure in "dlopen". It would be helpful if RDotNet called dlerror to get more information about the load failure and propagate that up.

System.DllNotFoundException: DLL not found.
at RDotNet.NativeLibrary.UnmanagedDll..ctor (System.String dllName) [0x00000] in <filename unknown>:0
at RDotNet.REngine..ctor (System.String id, System.String dll) [0x00000] in <filename unknown>:0


Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>