thread
thread copied to clipboard
is there an example to show how to access shared variable between two thread?
I want a thread to run background some heavy computation
Accessing a share variable should be straightforward - all functions/threads run in the same R interpreter and have access to the same global environment. However, memory management is not complete and I there is no guarantee that R process will survive running multiple threads via this package.