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

New Post: Azure // R.Net

$
0
0
Update : got it to work with the following:
            var curDirectory = Directory.GetCurrentDirectory() + "\\rengine";
            System.Environment.SetEnvironmentVariable("R_HOME", curDirectory);
            var curDirectoryWithBin = curDirectory + "\\bin";
            REngine.SetEnvironmentVariables(curDirectoryWithBin, curDirectory);
            var rPath = curDirectory + "\\bin\\R.dll";
            _rEng = REngine.GetInstance(rPath, true, null, null);
Note (for the good of the order) : the first parameter to REngine.SetEnvironmentVariables is not the "system path" but rather the path to R's bin directory (I missed that or assumed otherwise in the documentation).

Now working on the Azure piece and will post an update today or tomorrow if there's progress.

Best,

jbt

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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