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

New Post: Pull R process out of IIS process

$
0
0
I have a web application where I use R script and R.NET to create statistical plot based on data from database. Everything works like a charm until when R script produces an error, e.g. library not found, vector in wrong format etc., then the whole IIS process is down. I have to restart the IIS process to make my application running again.

I wonder if it is possible for c# to catch the error from R. Thus even an error occurs, rest of my application is still running. I have read some old post stating it is possible to pull R process out of IIS process using WCF for IPC, but I could not figure how. I was wondering if the R.NET experts could provide me some sample how it is done? I hope this is still within the scope of R.NET. Many many thanks!

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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