I might have a similar situation to that of James.
Setup is: VS 2013, R 3.0.2, R.Net 1.5.5, Win 7 SP1 64bit.
The error is:
"An unhandled exception of type 'System.DllNotFoundException' occurred in RDotNet.NativeLibrary.dll
Additional information: Dll was not found."
This is just when I try to instantiate the engine:
using (REngine engine = REngine.CreateInstance("RDotNet"))
I am trying to point the system to use the x64 folder as VS is running a 32 bit process:
Setup is: VS 2013, R 3.0.2, R.Net 1.5.5, Win 7 SP1 64bit.
The error is:
"An unhandled exception of type 'System.DllNotFoundException' occurred in RDotNet.NativeLibrary.dll
Additional information: Dll was not found."
This is just when I try to instantiate the engine:
using (REngine engine = REngine.CreateInstance("RDotNet"))
I am trying to point the system to use the x64 folder as VS is running a 32 bit process:
var oldPath = System.Environment.GetEnvironmentVariable("PATH");
var rPath = @"C:\Program Files\R\R-3.0.2\bin\x64";
var newPath = string.Format("{0}{1}{2}", rPath, System.IO.Path.PathSeparator, oldPath);
System.Environment.SetEnvironmentVariable("PATH", newPath);
is there anything else I should be doing?