我有一个相当长的R代码,大约需要2-3个小时来运行和编织到HTML。然而,即使有小错误或警告..。针织流产..。在下面的示例中,由于保存历史错误,它已经这样做了。
processing file: model_v64.Rmd
|...................... | 33%
ordinary text without R code
|........................................... | 67%
label: unnamed-chunk-1 (with options)
List of 1
$ echo: logi TRUE
Quitting from lines 21-278 (model_v64.Rmd)
**Error in .External2(C_savehistory, file) : no history available to save**
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> savehistory
Execution halted我们有什么办法可以
谢谢你,曼尼什
发布于 2016-03-16 03:24:38
设置块选项error = TRUE以显示错误,而不是停止R:
knitr::opts_chunk$set(error = TRUE)https://stackoverflow.com/questions/36026131
复制相似问题