Hi,
I want to use R.Net to handle requests from different users.
I know that R.Net does not support concurrency and this is ok for my scenario.
I will serialize the requests and execute them one by one.
My question is, how can I "isolate" each execution from previous\following executions?
I want to be able to clean up all state between requests, so that requests will not affect each other.
I noticed the REngine.CreateIsolatedEnvironment() method, which sounds very promising, but I can't find any documentation about it to understand if it can actually do what I need.
I am a beginner with R, so I don't understand the concept of environments very well and if they can help me with what I'm trying to achieve. If there is a better way to get isolation between requests, I'll be happy to learn about it.
Can workspaces help me with isolation?
I found some mentions about doing rm, closeAllConnections and detach for cleanups, but I'm not sure if this is enough...
Again, any help would be appreciated.
Thanks,
Yoav.
I want to use R.Net to handle requests from different users.
I know that R.Net does not support concurrency and this is ok for my scenario.
I will serialize the requests and execute them one by one.
My question is, how can I "isolate" each execution from previous\following executions?
I want to be able to clean up all state between requests, so that requests will not affect each other.
I noticed the REngine.CreateIsolatedEnvironment() method, which sounds very promising, but I can't find any documentation about it to understand if it can actually do what I need.
I am a beginner with R, so I don't understand the concept of environments very well and if they can help me with what I'm trying to achieve. If there is a better way to get isolation between requests, I'll be happy to learn about it.
Can workspaces help me with isolation?
I found some mentions about doing rm, closeAllConnections and detach for cleanups, but I'm not sure if this is enough...
Again, any help would be appreciated.
Thanks,
Yoav.