简体   繁体   中英

How to recognize and kill all threads started in R session

Sometimes threads are started by R package (eg in doRedis , see related code ). Is there a way how can I list threads spawned within current R session and kill these threads within R? Or can I recognize and kill them in Windows task list?

I am using Rgui in Windows XP.

In the command prompt window of Windows, try:

taskkill /F /IM processname.exe

to kill all processes with that name. If you have multiple processes with a slightly different name, you can use a wildcard:

taskkill /F /IM partialname*

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM