r - RStudio 与 R 3.5.0 和 Dropbox 发生冲突错误
问题描述
我最近将两台不同的 PC 升级到 R 3.5x,我注意到在与 Dropbox 同步中使用的 RStudio 在我尝试编译 pandocs 或 pdflatex 时会引发以下错误:
Error in file(file, ifelse(append, "a", "w")) :
can't open this connection
Calls: <Anonymous> ... <Anonymous> -> png -> .handleSimpleError -> h -> cat ->
file
In addition: warning message:
1: In png(..., res = dpi, units = "in") :
unable to open file 'reportDucret_files/figure-docx/ipss1-1.png' for writing
2: In png(..., res = dpi, units = "in") : opening device failed
3: In file(file, ifelse(append, "a", "w")) :
cannot open file 'reportDucret.knit.md': Permission denied
有什么建议吗?
解决方案
启发式地,我发现该问题可能是由将文件程序 pandoc pandoc-citeproc 和 rterm 阻止为随机软件误报的防病毒软件引起的。我对 Bitdefender 有这个问题。Dropbox 没有
推荐阅读
- node.js - Joi 验证 - 如何根据数组中存在的另一个键来要求或可选字段?
- selenium - org.openqa.selenium.os.OsProcess checkForError 和 org.apache.commons.exec.ExecuteException:进程因 Selenium ChromeDriver 错误而退出
- wix - WiX 通过属性静默安装条件
- c++ - 带有 enable_if 和重载的 SFINAE
- symfony - 如何在 symfony 4.2 中根据子域设置默认数据库
- ffmpeg - 在ffmpeg中将RTSP流连续保存到具有特定长度(10分钟)的多个mp4文件中
- arrays - 数组如何通过Swift按多个属性排序?
- java - 无法加载 admob 广告错误:3 ERROR_CODE_NO_FILL
- php - 将数据保存到数据库后发送电子邮件
- kubernetes - kubectl 补丁部署导致 'The "" is invalid'