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

New Post: R home not found by R.NET on OSX

$
0
0
I am running through the example tutorials of R.NET documentation. I am using xamarin studio and installed the most up to date R.NET package. I have the following lines from the tutorial:
                                                                                                                                                                                                     Console.WriteLine ("Hello World!");
REngine.SetEnvironmentVariables ();
REngine engine = REngine.GetInstance ();

I get the following error:
Directory for R_HOME does not exist

I got the directory path and tried:
REngine.SetEnvironmentVariables ("//usr//local/Cellar//r//3.1.1//R.framework//Resources");

This didn't fix the issue? What could be going wrong here. Googling was not helpful. Thank you for your assistance.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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