How do I reset all options() arguments to their default values?

前端 未结 3 580
耶瑟儿~
耶瑟儿~ 2020-12-17 14:41

As noted in the title, I\'m trying to understand how to reset all arguments in options() to their default settings. I searched online and in the ?options

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 15:10

    I never tried it myself, but the settings package seems to provide a possibility to restore the default values without previously storing them:

    library(settings)
    reset(options)
    

提交回复
热议问题