search for: docleanup

Displaying 1 result from an estimated 1 matches for "docleanup".

Did you mean: do_cleanup
2010 Nov 03
1
Auto-killing processes spawned by foreach::doMC
...my "main" R session, the spawned processes still remain (there, but idle). I can go in via terminal (or some task manager/activity monitor) and kill them manually, but does foreach (or something else (maybe multicore?)) keep track of the process IDs that it spawned? Is there some simple doCleanup() function I can write to get these R processes and kill them automagically? For what it's worth, I'm running on linux & os x, R-2.12 and the latest versions of foreach/doMC/multicore (though, I feel like this has been true since I've started using foreach/doMC way back when). Tha...