首页 > 解决方案 > 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

有什么建议吗?

标签: rknitrdropboxpandoc

解决方案


启发式地,我发现该问题可能是由将文件程序 pandoc pandoc-citeproc 和 rterm 阻止为随机软件误报的防病毒软件引起的。我对 Bitdefender 有这个问题。Dropbox 没有


推荐阅读