Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时线程由 R 包启动(例如在 doRedis 中,请参阅相关代码)。有没有办法如何列出在当前 R 会话中产生的线程并在 R 中杀死这些线程?或者我可以在 Windows 任务列表中识别并杀死它们吗?
我在 Windows XP 中使用 Rgui。
在 Windows 的命令提示符窗口中,尝试:
taskkill /F /IM processname.exe
杀死所有具有该名称的进程。如果您有多个名称略有不同的进程,则可以使用通配符:
taskkill /F /IM partialname*