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

Commented Unassigned: System.ApplicationException [158]

$
0
0
With running Rstudio and Revolution I launch a simple code which begins with
```
REngine.SetEnvironmentVariables();
REngine engine = REngine.GetInstance();
```
and have an exception

> System.ApplicationException: Windows Registry key 'SOFTWARE\R-core' not found in KEY_LOCAL_MACHINE nor HKEY_CURRENT_USER
> в RDotNet.NativeLibrary.NativeUtility.GetRCoreRegistryKeyWin32()
> в RDotNet.NativeLibrary.NativeUtility.FindRHome(String rPath)
> в RDotNet.NativeLibrary.NativeUtility.SetEnvironmentVariables(String rPath, String rHome)
> в RDotNet.REngine.SetEnvironmentVariables(String rPath, String rHome)
> в RDotNet.REngine.GetInstance(String dll, Boolean initialize, StartupParameter parameter, ICharacterDevice device)
Comments: Ok, after installing pure R the code runs. Seems like solved.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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