New Post: Properly Closing and Unloading the RDotNet Engine.
Just make sure to not call Initialize() more than once:engine_ = REngine.GetInstanceFromID("RDotNet"); if (engine_ == null) { engine_ = REngine.CreateInstance("RDotNet"); engine_.Initialize(); }
View ArticleCommented Issue: Periodic parse error when static wrapper class is used in...
Hello. I have strange error in my code, which I get episodically: "An exception of type 'RDotNet.ParseException' occurred in RDotNet.dll but was not handled in user code".Sometimes code works correct,...
View ArticleCreated Unassigned: Problem with DataFrame dynamic column access [80]
When I run the attached Program.cs as a console app, I get this output:```iris rows: 150iris50 rows: 50species length: 150species50 length: 150iris50["Species"].Length: 50```I expected species50 to...
View ArticleEdited Issue: Problem with DataFrame dynamic column access [80]
When I run the attached Program.cs as a console app, I get this output:```iris rows: 150iris50 rows: 50species length: 150species50 length: 150iris50["Species"].Length: 50```I expected species50 to...
View ArticleCommented Issue: Problem with DataFrame dynamic column access [80]
When I run the attached Program.cs as a console app, I get this output:```iris rows: 150iris50 rows: 50species length: 150species50 length: 150iris50["Species"].Length: 50```I expected species50 to...
View ArticleCommented Issue: Problem with DataFrame dynamic column access [80]
When I run the attached Program.cs as a console app, I get this output:```iris rows: 150iris50 rows: 50species length: 150species50 length: 150iris50["Species"].Length: 50```I expected species50 to...
View ArticleCreated Unassigned: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleCommented Unassigned: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleNew Post: engine.Evaluate in an event driven method
Thanks for writing this code. I just started playing with it and look forward to seeing what can be done. I'm sure I'm missing something simple but I'm having issues using engine.Evaluate in an event...
View ArticleNew Post: engine.Evaluate in an event driven method
I am not sure exactly what problem you describe. I assume you mean that running your first code sample twice leads to an exception being thrown. If the assumption is correct I cannot seem to reproduce...
View ArticleEdited Issue: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleCommented Issue: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleCommented Issue: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleNew Post: engine.Evaluate in an event driven method
Given the jperraud can't reproduce the issue, I just wanted to check, you are setting the "A" variable before updating it to "a+1" right?
View ArticleCreated Unassigned: RDOTNET ISSUE IN ASP.NET [82]
Hi Team,I am using Rdotnet code like this , While i am running 2 time or 3 time i am getting a parse error GC.KeepAlive(REngine.SetDllDirectory(@"C:\Program Files\R\R-3.0.1\bin\i386")); if (engine...
View ArticleSource code checked in, #ebf8b9a969b6
Add unit tests of issues reported by gchapman. Fix: IsList works as is.list.
View ArticleCommented Unassigned: RDOTNET ISSUE IN ASP.NET [82]
Hi Team,I am using Rdotnet code like this , While i am running 2 time or 3 time i am getting a parse error GC.KeepAlive(REngine.SetDllDirectory(@"C:\Program Files\R\R-3.0.1\bin\i386")); if (engine...
View ArticleClosed Unassigned: RDOTNET ISSUE IN ASP.NET [82]
Hi Team,I am using Rdotnet code like this , While i am running 2 time or 3 time i am getting a parse error GC.KeepAlive(REngine.SetDllDirectory(@"C:\Program Files\R\R-3.0.1\bin\i386")); if (engine...
View ArticleNew Post: engine.Evaluate in an event driven method
evolvedmicrobe's comment had me go back to the drawing board and start with a fresh console app to test some ideas. This works as expected: engine.Initialize(); var e = engine.Evaluate("a<-0");...
View ArticleNew Post: engine.Evaluate in an event driven method
Glad you seem to have a way forward; let us know if you can reproduce the issue and if the expected behavior of R.NET is not to fail on the test setup.
View Article