How to disable “Save workspace image?” prompt in R?

前端 未结 11 1876
迷失自我
迷失自我 2020-11-29 23:51

When I exit the interactive R shell, it displays an annoying prompt every time:

>
>
Save workspace image? [y/n/c]: n

I\'m always answering \"no\" to it

11条回答
  •  感情败类
    2020-11-30 00:06

    You can escape the "Save workspace image?" prompt with a Ctrl+D.

    Thus, if you do Ctrl+D twice in interactive R, then you exit R without saving your workspace.

    (Tested on Linux and OS X)

提交回复
热议问题