Hi everyone,
I transferred my code from one machine to another and on the new machine, I get the following error: ":Object reference not set to an instance of an object."
It happens at "using"
REngine.SetDllDirectory(args[1]);
__using__ (REngine engine = REngine.CreateInstance("RDotNet", new[] { "-q" })) // quiet mode
{
R.Net is in the references.
args[1] is the folder in which the r.dll is located.
I use version 1.4.1.0 of R.NET.
Thank you for your help,
Julien
Comments: I found R was installed but downloaded on another computer. I downloaded it on the given VM and it works now Thanks for your help, Julien
I transferred my code from one machine to another and on the new machine, I get the following error: ":Object reference not set to an instance of an object."
It happens at "using"
REngine.SetDllDirectory(args[1]);
__using__ (REngine engine = REngine.CreateInstance("RDotNet", new[] { "-q" })) // quiet mode
{
R.Net is in the references.
args[1] is the folder in which the r.dll is located.
I use version 1.4.1.0 of R.NET.
Thank you for your help,
Julien
Comments: I found R was installed but downloaded on another computer. I downloaded it on the given VM and it works now Thanks for your help, Julien