hello, tried a new sample console program(hello world) from latest onboarding guide. I have windows 8 with R.dotnet of 1.5.16 dll version that is referenced via nugget and R 3.1.0 installed in my system.
Code snippet
using System.Linq;
using System.Text;
using RDotNet;
using RDotNet.NativeLibrary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace helloworld
{
I am still get the same error message. I am unable to paste/attach a screenhsot here..
"The procedure entry point R_Cstackdir could not be located in the dynamic link library R.dll" with this call stack"
Code snippet
using System;
using System.Collections.Generic;using System.Linq;
using System.Text;
using RDotNet;
using RDotNet.NativeLibrary;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace helloworld
{
class Program
{
static void Main(string[] args)
{
REngine.SetEnvironmentVariables(); // <-- May be omitted; next line would call it.
REngine engine = REngine.GetInstance();
// A somewhat contrived but customary Hello World:
CharacterVector charVec = engine.CreateCharacterVector(new[] { "Hello, R world!, .NET speaking" });
engine.SetSymbol("greetings", charVec);
engine.Evaluate("str(greetings)"); // print out in the console
string[] a = engine.Evaluate("'Hi there .NET, from the R engine'").AsCharacter().ToArray();
Console.WriteLine("R answered: '{0}'", a[0]);
Console.WriteLine("Press any key to exit the program");
Console.ReadKey();
engine.Dispose();
}
}
}I am still get the same error message. I am unable to paste/attach a screenhsot here..
"The procedure entry point R_Cstackdir could not be located in the dynamic link library R.dll" with this call stack"