Hi,
Here is test project on problems reported in blogpost http://kostylizm.blogspot.ru/2014/05/run-r-code-from-c-sharp.html
Error messages we had in production:
Version 1.5.5:
Error: C stack usage is too close to the limit
In addition: Warning messages:
1: package 'xts' was built under R version 3.0.3
2: package 'rugarch' was built under R version 3.0.3
A first chance exception of type 'RDotNet.ParseException' occurred in RDotNet.dll
Version 1.5.11
at RDotNet.REngine.Parse(String statement, StringBuilder incompleteStatement)
at RDotNet.REngine.<Defer>c__Iterator4.MoveNext()
at System.Linq.Enumerable.LastOrDefault[TSource](IEnumerable`1 source)
at RDotNet.REngine.Evaluate(String statement)
In attached project reproduced only second.
Run method ParallelRFromRNetTest
Hope will help resolve problem.
Comments: I've already pushed changes to the default branch; the test is at: http://rdotnet.codeplex.com/SourceControl/latest#RDotNet.Tests/MultiThreadingTest.cs Happy to reopen as active if need be. Resolved is not the same as closed issue in my mind.
Here is test project on problems reported in blogpost http://kostylizm.blogspot.ru/2014/05/run-r-code-from-c-sharp.html
Error messages we had in production:
Version 1.5.5:
Error: C stack usage is too close to the limit
In addition: Warning messages:
1: package 'xts' was built under R version 3.0.3
2: package 'rugarch' was built under R version 3.0.3
A first chance exception of type 'RDotNet.ParseException' occurred in RDotNet.dll
Version 1.5.11
at RDotNet.REngine.Parse(String statement, StringBuilder incompleteStatement)
at RDotNet.REngine.<Defer>c__Iterator4.MoveNext()
at System.Linq.Enumerable.LastOrDefault[TSource](IEnumerable`1 source)
at RDotNet.REngine.Evaluate(String statement)
In attached project reproduced only second.
Run method ParallelRFromRNetTest
Hope will help resolve problem.
Comments: I've already pushed changes to the default branch; the test is at: http://rdotnet.codeplex.com/SourceControl/latest#RDotNet.Tests/MultiThreadingTest.cs Happy to reopen as active if need be. Resolved is not the same as closed issue in my mind.