我最近更新了 R 和 R Studio,并开始在渲染为 HTML 的 Quarto Markdown 文档上收到错误消息。这种情况发生在全新的“测试”文档以及实际的 HTML 报告中。我已卸载并重新安装 R Studio 和 Quarto,但仍然收到错误消息。
我还尝试遵循这篇文章中的建议: https: //community.rstudio.com/t/render-with-quarto-error/134403/6 但这超出了我的能力范围。
这是我收到的错误:
ERROR: NotFound: The system cannot find the file specified. (os error 2), remove 'test_files\mediabag'
NotFound: The system cannot find the file specified. (os error 2), remove 'test_files\mediabag'
at Object.removeSync (deno:runtime/js/30_fs.js:157:9)
at removeIfEmptyDir (file:///C:/PROGRA~1/Quarto/bin/quarto.js:5701:18)
at renderCleanup (file:///C:/PROGRA~1/Quarto/bin/quarto.js:80576:5)
at file:///C:/PROGRA~1/Quarto/bin/quarto.js:81110:46
at withTiming (file:///C:/PROGRA~1/Quarto/bin/quarto.js:19624:25)
at Object.complete (file:///C:/PROGRA~1/Quarto/bin/quarto.js:81110:13)
at async Object.onPostProcess (file:///C:/PROGRA~1/Quarto/bin/quarto.js:86677:36)
at async renderFiles (file:///C:/PROGRA~1/Quarto/bin/quarto.js:86648:13)
at async render (file:///C:/PROGRA~1/Quarto/bin/quarto.js:90679:21)
at async renderForPreview …Run Code Online (Sandbox Code Playgroud)