subsci wrote:
I have tried "try catch", but strangely not every error can be caught. E.g. R error variable cannot be null can be caught, but library cannot be found cannot be caught. Instead the whole IIS process went down, have to restart the entire web server to make it work again, which can be truly catastrophic.
I'm about to embark on your path--webapi on iis. As a workaround to your desired approach, have you tried to catch the error in R with tryCatch function?Thank you very much for your answer! It's good to hear that someone else is also interested in this matter. :-)
I have tried "try catch", but strangely not every error can be caught. E.g. R error variable cannot be null can be caught, but library cannot be found cannot be caught. Instead the whole IIS process went down, have to restart the entire web server to make it work again, which can be truly catastrophic.