【发布时间】:2022-08-15 08:09:04
【问题描述】:
在 Win 7 上,使用 R 4.1.2、RStudio 2022.07.1 Build 554 和最新的 Quarto (1.0.37), 尝试构建/预览图书项目时出现持续错误 [已添加注释: 我已经确认了另外两台机器上描述的问题,都是 Win 10,具有相同的 R&Quarto 版本。]
**ERROR**: The process cannot access the file because it is being used by another process. (os error 32), remove \'C:\\Dropbox\\Documents\\publications\\Vis-MLM\\site_libs\'
如果有什么不同,我的项目将存储在 Dropbox 文件夹中。 [已添加注释:这个问题似乎可以通过 @user19749376 的建议暂停 Dropbox 同步来解决, 但这是一个不可接受的工作流程。]
然后,如果我重新启动会话并重新构建,浏览器将打开,我得到:
Access is denied. (os error 5), stat \'C:\\Dropbox\\Documents\\publications\\Vis-MLM\\index_files\'
第二个问题在Unable to render quarto in R 中描述 但是,我做在我的计算机上拥有管理权限。
_book/ 中的 HTML 书在那里,我可以在浏览器中打开 index.html,但是它是
每次都必须这样做很痛苦。
这是四开检查
[>] Checking Quarto installation......OK
Version: 1.0.37
Path: C:\\Program Files\\Quarto\\bin\\
CodePage: 1252
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.1.2
Path: C:/R/R-4.1.2
LibPaths:
- C:/R/R-4.1.2/library
rmarkdown: 2.14
[>] Checking Knitr engine render......OK
对于解决此问题的任何帮助,我将不胜感激。我对 Quarto 几乎束手无策。