Rmarkdown 的奇怪行为。它在执行期间无明显原因停止

发布于 2025-01-14 19:06:52 字数 318 浏览 1 评论 0原文

我最近遇到了 Rmarkdown 的一个非常奇怪的问题。当我运行一个需要几分钟的块时,Rmarkdown 会在某个时刻停止。这种情况并非每次都会发生,但经常发生。该块运行一些 Rcpp 代码。我无法提供示例,因为例程运行相当长,抱歉。我附上一张屏幕截图,显示该块的进度,但也显示 Rmarkdown 已停止(没有红色按钮)。当它停止时,它也不会重新绘制查看器。 输入图片此处描述

I have recently run into a very strange issue with Rmarkdown. When I run a chunk that takes a few minutes Rmarkdown just stops at some point. This does not happen every time, but often enough. The chunk runs some Rcpp code. I can't produce an example because the routines run are quite lengthy, sorry. I am attaching a screenshot that shows the progress of the chunk, but also shows that Rmarkdown has stopped (no red button). When it stops it also does not redraw the viewer.
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文