How can I stop a running R command in linux other than with Ctrl + C?

前端 未结 4 2023
孤城傲影
孤城傲影 2020-12-24 05:52

I\'m running R in interactive mode under Linux and mistakenly typed in a command that takes forever to run. I usually stop it using Ctrl + C. But it do

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-24 06:22

    You can also try

    kill -USR1 [pid]
    

    This will interrupt some R calls and sometimes give you the option to save and quit rather killing the process altogether.

提交回复
热议问题