Quarto: problem opening preview plane & error message while rendering

While attempting to render a quarto file, the preview plane does not open up and I receive this error message:

ERROR: NotFound: The system cannot find the file specified. (os error 2), remove 'hello_files\mediabag'
NotFound: The system cannot find the file specified. (os error 2), remove 'hello_files\mediabag'
at Object.removeSync (deno:runtime/js/30_fs.js:157:9)
at removeIfEmptyDir (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:5701:18)
at renderCleanup (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:80575:5)
at file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:81109:46
at withTiming (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:19624:25)
at Object.complete (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:81109:13)
at async Object.onPostProcess (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:86676:36)
at async renderFiles (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:86647:13)
at async render (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:90678:21)
at async renderForPreview (file:///C:/PROGRA~1/RStudio/RESOUR~1/app/bin/quarto/bin/quarto.js:102412:26)

However, while the error message pops up in my R-Studio IDE, the html file was rendered and dumped in the working directory, nevertheless. (The html does not open up automatically though, it's just silently being compiled in the background).

Another unusual thing I noticed is that the "quarto" tab is not shown in "Global Options/R markdown", so I could not really check whether the "open preview plane" option is on or not.

I use R version 4.3.1 (2023-06-16 ucrt), R-Studio version 2023.06.1+524 and Quarto 1.3.433 (all in Windows 11).

I'd be super grateful if you had any hints as how to solve this problem.

Thanks folks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.