与R 3.5.0和Dropbox的RStudio冲突错误

时间:2018-04-28 13:21:35

标签: r knitr dropbox pandoc

我最近将两台不同的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

有什么建议吗?

1 个答案:

答案 0 :(得分:1)

从历史上看,我发现此问题可能是由阻止文件程序pandoc pandoc-citeproc和rterm作为随机软件误报的反病毒软件引起的。我遇到了Bitdefender的问题。 Dropbox不会