Hi!
I have installed R.NET version 1.5.12, also tried version 1.5.11. I am simply trying to make the simple eample with the t-distribution test work.
Simple operations work fine, such as
NumericVector group1 = engine.CreateNumericVector(new double[] { 30.02, 29.99, 30.11, 29.97, 30.01, 29.99 });
engine.SetSymbol("group1", group1);
// Direct parsing from R script.
NumericVector group2 = engine.Evaluate("group2 <- c(29.89, 29.93, 29.72, 29.98, 30.02, 29.98)").AsNumeric();
But as soon as this row is executed:
GenericVector testResult = engine.Evaluate("t.test(group1, group2)").AsList();
There is a runtime error saying:
RDotNet.EvaluationException
{"Error: could not find function \"t.test\"\n"}
If I change the above call to
GenericVector testResult = engine.Evaluate("stats:::t.test(group1, group2)").AsList();
I get another that the stats.dll shared library cannot be loaded?!!
I currently have R for windows version 3.0.3 installed. Also tried with 3.1.0... Same result!
What is the issue here - am I doing something wrong? Quite unlikely since I just followed the example in the documentation.. ?
My machine is a brand new Win 7 64-bit.
Comments: Hi! I get this: Path: C:\Program Files\R\R-3.0.3\bin\i386 Home: C:\Program Files\R\R-3.0.3 I made sure all assemblies build as x86 (NOT any CPU), also checked that it's a 32-bit process running. So the paths look correct.. I am STILL getting the same error!!! /Joakim
I have installed R.NET version 1.5.12, also tried version 1.5.11. I am simply trying to make the simple eample with the t-distribution test work.
Simple operations work fine, such as
NumericVector group1 = engine.CreateNumericVector(new double[] { 30.02, 29.99, 30.11, 29.97, 30.01, 29.99 });
engine.SetSymbol("group1", group1);
// Direct parsing from R script.
NumericVector group2 = engine.Evaluate("group2 <- c(29.89, 29.93, 29.72, 29.98, 30.02, 29.98)").AsNumeric();
But as soon as this row is executed:
GenericVector testResult = engine.Evaluate("t.test(group1, group2)").AsList();
There is a runtime error saying:
RDotNet.EvaluationException
{"Error: could not find function \"t.test\"\n"}
If I change the above call to
GenericVector testResult = engine.Evaluate("stats:::t.test(group1, group2)").AsList();
I get another that the stats.dll shared library cannot be loaded?!!
I currently have R for windows version 3.0.3 installed. Also tried with 3.1.0... Same result!
What is the issue here - am I doing something wrong? Quite unlikely since I just followed the example in the documentation.. ?
My machine is a brand new Win 7 64-bit.
Comments: Hi! I get this: Path: C:\Program Files\R\R-3.0.3\bin\i386 Home: C:\Program Files\R\R-3.0.3 I made sure all assemblies build as x86 (NOT any CPU), also checked that it's a 32-bit process running. So the paths look correct.. I am STILL getting the same error!!! /Joakim