evolvedmicrobe wrote:
So two questions: 1 - are you loading the R runtime in the same process and 2 - Why do all R calls require independent processes?Actually my application does not require independent R sessions, you are totally right. I can use one R session for my whole c# application, just to make sure to clear out all the objects to return the memory after the calculation process. So far I am loading R in the same process. I disabled the interactive R scripting from user input in case of bad coding. If I could start R in a separate process, then everything should work as a charm. Thanks a lot for the great tips!