R installed using NuGet in VS 2013 without error. RDotNet and RDotNet.NativeLibrary 1.5.16.30632 references added to project as expected.
ErrorL "An unhandled exception of type 'System.ApplicationException' occurred in RDotNet.NativeLibrary.dll Additional information: Windows Registry key 'SOFTWARE\R-core' not found in HKEY_LOCAL_MACHINE nor HKEY_CURRENT_USER"
using RDotNet;
// crashes on first line:
thanks, Bill
ErrorL "An unhandled exception of type 'System.ApplicationException' occurred in RDotNet.NativeLibrary.dll Additional information: Windows Registry key 'SOFTWARE\R-core' not found in HKEY_LOCAL_MACHINE nor HKEY_CURRENT_USER"
using RDotNet;
// crashes on first line:
REngine.SetEnvironmentVariables();
engine = REngine.GetInstance();
if (engine.IsRunning == false)
{
engine.Initialize();
}
My research on StackOverFlow and here has turned up no solution, but it is obvious this is a frequent problem.thanks, Bill