Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Commented Issue: R.Net 1.5.5 problem multithread and loaded machine. [115]

$
0
0
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: What kind of project is this (Console, WinForms, WPF, ASP.Net, etc...)? I, and others, have encountered the same issue with hosting R as a WebAPI service under IIS. Attempts to work around the problem have been futile. It seems like it should be a simple permissions problem solvable by adding ISURS or a local account representing the AppPool to the R folder, but that did not fix it for me. My (hopefully temporary) workaround was to pull the R hosting into a WCF service that runs under my user account.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>