R闪亮的网格绘制维恩图

问题描述

cannot open file 'vennDiagram2020-08-24_13-55-00.log': Permission denied
Warning: Error in file: cannot open the connection
173: file
172: cat
171: appender
170: .log_level
169: flog.info
168: venn.diagram
167: renderPlot [/var/shiny-server/samples/sample-apps/new/app.R#814]
165: func
125: drawPlot
111: <reactive:plotObj>
 95: drawReactive
 82: origRenderFunc
 81: output$plot12
  1: runApp

我从闪亮的服务器中发现了类似上面的错误,我的维恩图代码如下

 output$plot12 <- renderPlot({
 venn.plot = venn.diagram(
  x = list(
    data1 = data1,data2 = data2
  ),main = "venn Diagram",filename = NULL,na="remove",lwd = 2,fill = c("orange","blue"),alpha = c(0.5,0.5),label.col = "black",cex=1.5,fontface = "plain",cat.col = c("cornflowerblue","pink"),cat.cex = 1.5,cat.fontfamily = "serif",cat.fontface = "plain",cat.dist = c(0.05,0.05),cat.pos = c(-20,14),cat.default.pos = "text",scaled = FALSE
)
  grid.newpage()
  grid.draw(venn.plot) })

相同的代码在本地计算机上运行时没有任何错误,但是在将其托管到服务器时显示错误。任何想法如何防止创建venn日志文件

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)