This project is read-only.

DLL not found (should be trivial...)

Sep 14, 2012 at 10:51 AM

Upon CreateInstance with RDotNet 1.5 (from NuGet) and R 2.15.1 installed I just get "dll not found" from RDotNetNative.

I just copied the code on the start page for 1.5.

This should be simple but I've tried for an hour now and still can't get it to work.

Oct 4, 2012 at 1:46 PM

Hi,

Hard to tell from your post what is amiss. I assume you checked the sample code matches where your e.g. 

C:\Program Files\R\R-2.15.1\bin\x64 
exists

Another thing to check: is your C# program compiled as AnyCPU or x64? if it is x86 then I think you may observe these symptoms.
Oct 12, 2012 at 10:03 AM

I have the same problem. with RDotNet 1.5 (from NuGet) and R 2.15.1 installed.

when I start the pro in vs2012.this line prompt the error:"Dll was not found.".

 REngine engine = REngine.CreateInstance("RDotNet")

 

  

 

 

 

 

 

1.@"C:\Program Files\R\R-2.15.1\bin\x64" exists.
2.In bin folder,"RDotNet.dll,RDotNet.NativeLibrary.dll" exists.
3.C# program compiled as AnyCPU.

 

thank u.

Oct 12, 2012 at 10:24 AM

I just found the reason for this mistake.....

The C# program target framework must as ".net framework 4.0" .not "".net framework 4.5".

 

Nov 19, 2012 at 8:58 AM
aan0218 wrote:

I just found the reason for this mistake.....

The C# program target framework must as ".net framework 4.0" .not "".net framework 4.5".

 

This is true.

For the previous version, the target framework must be ".net framework 3.5".