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.
```
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.