19 Jun 2013 01:07
force quitting a parallel cluster on Windows
Folks: Occasionally I'll start a process via foreach with a registerDoParallel() backend, and will need to interrupt the process, but I occasionally get a "runaway" cluster (the workers do not terminate, nor does stopCluster(cl) work. So far (on a Windows box) this involves sending via Windows command line: taskkill /im Rscript.exe I was wondering if there is a better (within-R) way of killing a misbehaving *parallel* cluster, short of wrapping that statement (or a kill -9 on Unix-like systems) in a system() call? --j -- Jonathan A. Greenberg, PhD Assistant Professor Global Environmental Analysis and Remote Sensing (GEARS) Laboratory Department of Geography and Geographic Information Science University of Illinois at Urbana-Champaign 607 South Mathews Avenue, MC 150 Urbana, IL 61801 Phone: 217-300-1924 http://www.geog.illinois.edu/~jgrn/ AIM: jgrn307, MSN: jgrn307@..., Gchat: jgrn307, Skype: jgrn3007
RSS Feed