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

Commented Unassigned: REngine Initialization Failure on Windows 7 R-3.0.3 [106]

$
0
0
Looks like the R_HOME environment variable needs to be set on the Windows platform as well as on UNIX and Mac platforms without which REngine fails to initialize. The following line of code solves the problem for me.

Environment.SetEnvironmentVariable("R_HOME", @"C:\Program Files\R\R-3.0.3\");


Comments: Normally, the R API on Windows does discover and set R_HOME, but on some machines this seems to fail for unknown reasons. I'll make that clear in the introductory documentation that I am preparing for the next release.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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