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!
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!