Quartoでレンダリングする際のエラー

R

RstudioでQuartoを作成し,renderするとエラーが発生した.

ERROR: The process cannot access the file because it is being used by another process. (os error 32), remove 'C:\Users\****\Dropbox\test'

所謂「ファイルにアクセスできません」というやつ,他のプログラムが使用していることになっている.

いろいろ調べてみると下記の環境下ではエラーが発生し,レンダリングできないよう.

  • Dropbox内での作業
  • htmlで”embed-resources: true“にしているとき

つまり,一体型htmlを作成する際は画像などの入ったフォルダが削除されるが,それをquatroがdropbox上では行うことができず(削除できず),エラーが発生してしまう.

現状では解決策がなく,Dropboxの同期を一時停止(30minなど)するか,Dropboxを使わずにローカルで行うかしかない.

OS ERROR 32 & OS ERROR 145 when using Quarto on a Dropbox directory. SOLUTION: Use local folder. ?? Issue #4670 ?? quarto-dev/quarto-cli
Bug description My project is in a Dropbox folder. When I have more than one .qmd file and use the quarto book (though I...

コメント

タイトルとURLをコピーしました