R CMD BATCH or Rscript with stop on error

前端 未结 1 1802
盖世英雄少女心
盖世英雄少女心 2021-01-25 00:07

I don\'t think R CMD BATCH or Rscript is supposed to stop on an error, but I would like it to (or something like it).

As an example I have this

相关标签:
1条回答
  • 2021-01-25 00:13

    If I remove the following from my .Rprofile I do not have the problem:

    options(error = utils::dump.frames)
    

    Thanks to the commenters for helping me figure that out.

    0 讨论(0)
提交回复
热议问题