I am on a 64 bit windows machine In Visual Studio 2012 working in a Web environment.
I have used nuget to install the latest version of R.net (1.5.5) last published 16/09/2013,
I have tried setting the Path (both user and system) to include the directrory "E:\Program Files\R\R-3.0.2\bin\x64"
I have also tried this code as per some suggestions...
// As per the example
var envPath = Environment.GetEnvironmentVariable("PATH");
const string rBinPath = @"E:\Program Files\R\R-3.0.2\bin\x64";
Environment.SetEnvironmentVariable("PATH", envPath + Path.PathSeparator + rBinPath);
Prior to calling
// Create an instance of the engine
engine = REngine.CreateInstance("RDotNet");
Initialize();
But I get this Error DllNotFound.....
RDotNet.NativeLibrary.UnmanagedDll..ctor(String dllName) +267
RDotNet.REngine..ctor(String id, String dll) +55
RDotNet.REngine.CreateInstance(String id, String dll) +415
I have researched and found that others have made suggestions on how to fix this https://rdotnet.codeplex.com/discussions/353957 I have read through this and tried a variety of things including the "deprecated" SetDllDirectory(dllDirectory As String) and got the message that its deprecated and I shouldnt use....
So I am a little stumped Does RDotNet work in 64bit? I have read that the issue may be with the RlaPack.dll referencing another Dll that I don't have
I have also read that hints about R_Home might need to be set... but then others that say it works in windows and I dont need to set R_home.
So a little guidance from the community please for things I can try thanks anybody with RDotNet/R experience in a c# environment